From 6c630b37ed28e237db4a337ba5c7f6faf000aa48 Mon Sep 17 00:00:00 2001
From: posophe
Date: Mon, 8 Dec 2014 16:07:07 +0100
Subject: 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
---
tools/mate-color-select.c | 2 ++
1 file changed, 2 insertions(+)
(limited to 'tools/mate-color-select.c')
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;
}
--
cgit v1.2.1