Code

fix remaining format warnings
authorkeescook <keescook@users.sourceforge.net>
Tue, 29 Apr 2008 20:31:18 +0000 (20:31 +0000)
committerkeescook <keescook@users.sourceforge.net>
Tue, 29 Apr 2008 20:31:18 +0000 (20:31 +0000)
src/libgdl/gdl-dock-placeholder.c
src/libgdl/gdl-stock.c

index 967e48a85a28f4db01b01804b946645bc033e82c..cd900a21daece0b4b3ab019975f57bbf3da16714 100644 (file)
@@ -491,7 +491,7 @@ gdl_dock_placeholder_dock (GdlDockObject    *object,
         GdlDockObject *toplevel;
         
         if (!gdl_dock_object_is_bound (GDL_DOCK_OBJECT (ph))) {
-            g_warning (_("Attempt to dock a dock object to an unbound placeholder"));
+            g_warning ("%s",_("Attempt to dock a dock object to an unbound placeholder"));
             return;
         }
         
index 7bcdd6be0619206a5e1185370e1a0e0fd30151f1..94f825678525e85f5ddb233a1cdf36cbd9062039 100644 (file)
@@ -60,7 +60,7 @@ icon_set_from_data (GtkIconSet       *set,
        
        pixbuf = gdk_pixbuf_new_from_inline (data_size, icon_data, FALSE, &err);
        if (err) {
-           g_warning (err->message);
+           g_warning ("%s",err->message);
            g_error_free (err);
            err = NULL;
            g_object_unref (source);