summaryrefslogtreecommitdiffstats
path: root/libmsi/streams.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-02-06 14:12:11 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-02-07 00:00:31 +0100
commitcc431bfc4c19aac79d98546d4abae4e4ad35d500 (patch)
tree21504b3970ea7fa70ba82c3a05563c2e534c4aee /libmsi/streams.c
parenta177ebf63ebacaccfa59c208cfe7c634db644e22 (diff)
downloadmsitools-cc431bfc4c19aac79d98546d4abae4e4ad35d500.tar.gz
msitools-cc431bfc4c19aac79d98546d4abae4e4ad35d500.tar.xz
msitools-cc431bfc4c19aac79d98546d4abae4e4ad35d500.zip
Replace WARN with g_warning
Diffstat (limited to 'libmsi/streams.c')
-rw-r--r--libmsi/streams.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmsi/streams.c b/libmsi/streams.c
index 09d8bdb..e34fffd 100644
--- a/libmsi/streams.c
+++ b/libmsi/streams.c
@@ -153,7 +153,7 @@ static unsigned streams_view_set_row(LibmsiView *view, unsigned row, LibmsiRecor
name = strdup(_libmsi_record_get_string_raw(rec, 1));
if (!name)
{
- WARN("failed to retrieve stream name\n");
+ g_warning("failed to retrieve stream name\n");
goto done;
}
@@ -166,7 +166,7 @@ static unsigned streams_view_set_row(LibmsiView *view, unsigned row, LibmsiRecor
r = msi_create_stream(sv->db, name, stm);
if (r != LIBMSI_RESULT_SUCCESS)
{
- WARN("failed to create stream: %08x\n", r);
+ g_warning("failed to create stream: %08x\n", r);
g_object_unref(G_OBJECT(stream->stream));
msi_free(stream);
goto done;
@@ -217,7 +217,7 @@ static unsigned streams_view_delete_row(LibmsiView *view, unsigned row)
name = msi_string_lookup_id(sv->db->strings, sv->streams[row]->str_index);
if (!name)
{
- WARN("failed to retrieve stream name\n");
+ g_warning("failed to retrieve stream name\n");
return LIBMSI_RESULT_FUNCTION_FAILED;
}