[gnome-builder] prefs: add missing return



commit fb5e76657559dbfe1b0d23433a127e70c686c8dd
Author: Christian Hergert <chergert redhat com>
Date:   Thu May 5 19:56:46 2016 +0300

    prefs: add missing return

 libide/ide-preferences.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-preferences.c b/libide/ide-preferences.c
index 8548eec..1d0b122 100644
--- a/libide/ide-preferences.c
+++ b/libide/ide-preferences.c
@@ -240,5 +240,5 @@ ide_preferences_get_widget (IdePreferences *self,
 {
   g_return_val_if_fail (IDE_IS_PREFERENCES (self), NULL);
 
-  IDE_PREFERENCES_GET_IFACE (self)->get_widget (self, widget_id);
+  return IDE_PREFERENCES_GET_IFACE (self)->get_widget (self, widget_id);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]