summaryrefslogtreecommitdiff
path: root/tools/mate-color-select.c
diff options
context:
space:
mode:
authorposophe <[email protected]>2014-12-08 16:07:07 +0100
committerStefano Karapetsas <[email protected]>2015-04-05 19:20:29 +0200
commit6c630b37ed28e237db4a337ba5c7f6faf000aa48 (patch)
tree1e61de16125a4cd1f632bbe93507cc6f505c6b09 /tools/mate-color-select.c
parent1fef7c809727b7d3d6197be82092fe09d189fb25 (diff)
downloadmate-desktop-6c630b37ed28e237db4a337ba5c7f6faf000aa48.tar.bz2
mate-desktop-6c630b37ed28e237db4a337ba5c7f6faf000aa48.tar.xz
Fix missing return in non-void functions
Closes https://github.com/mate-desktop/mate-desktop/pull/151 Closes https://github.com/mate-desktop/mate-desktop/issues/148
Diffstat (limited to 'tools/mate-color-select.c')
-rw-r--r--tools/mate-color-select.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mate-color-select.c b/tools/mate-color-select.c
index 7e30a76..9fad5c0 100644
--- a/tools/mate-color-select.c
+++ b/tools/mate-color-select.c
@@ -45,6 +45,7 @@ copy_color (GtkWidget *widget, GdkEvent *event, MateColorSelectionDialog *color
gtk_clipboard_set_text (gtk_clipboard_get (GDK_SELECTION_CLIPBOARD), color_string, -1);
g_free (color_string);
+ return 0;
}
int
@@ -85,4 +86,5 @@ main (int argc, char **argv)
/* start application */
gtk_main ();
+ return 0;
}