[four-in-a-row] Fix "Non-void function should return a value"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row] Fix "Non-void function should return a value"
- Date: Sun, 21 Sep 2014 23:48:23 +0000 (UTC)
commit cf54d83b3117b4d6ebbc743bb9aa404321fa71b6
Author: Ting-Wei Lan <lantw src gnome org>
Date: Fri Sep 19 23:00:29 2014 +0800
Fix "Non-void function should return a value"
https://bugzilla.gnome.org/show_bug.cgi?id=736980
src/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 96701a4..2259a8a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1112,7 +1112,7 @@ create_app (void)
if (G_UNLIKELY (error != NULL)) {
fprintf (stderr, "Could not load UI: %s\n", error->message);
g_clear_error (&error);
- return;
+ return FALSE;
}
gtk_style_context_add_provider_for_screen (gdk_screen_get_default (), css_provider,
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]