fixed no-return-in-nonvoid-function utils.c:91, no-return-in-nonvoid-function color...
authorAndrea Florio <andrea@opensuse.org>
Fri, 30 Jul 2010 07:48:06 +0000 (09:48 +0200)
committerAndrea Florio <andrea@opensuse.org>
Fri, 30 Jul 2010 07:48:06 +0000 (09:48 +0200)
, missing-sentinel icon-theme.c:136

src/color-scheme.c
src/icon-theme.c
src/utils.c

index 710090c..a1fe404 100644 (file)
@@ -38,6 +38,8 @@ static gboolean gtkrc_supports_colors(const char* gtkrc_file, gboolean* support)
         g_free(content);
     }
     *support = support_colors;
+
+    return TRUE;
 }
 
 /* check if current gtk+ widget theme supports color schemes */
index 632c0fe..5dfd7a2 100644 (file)
@@ -133,7 +133,7 @@ static void icon_sizes_init(GtkBuilder* b)
         "gtk-dialog"
     };
     char* sizes_str;
-    g_object_get(gtk_settings_get_default(), "gtk-icon-sizes", &sizes_str);
+    g_object_get(gtk_settings_get_default(), "gtk-icon-sizes", &sizes_str, NULL);
     g_debug("%s", sizes_str);
 }
 
index 471f0ae..76bf566 100644 (file)
@@ -88,5 +88,7 @@ gboolean install_icon_theme(GtkWindow* parent)
     if(pid >=0)
         show_progress_for_pid(parent, "Install themes", "Installing...", pid);
     g_free(file);
+
+    return TRUE;
 }