[glade] Cleanup glade_widget_adaptor_get_children()



commit 9bd0a6375574a43008931f6894d82c1a70aaaa42
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Tue Apr 5 01:29:29 2011 +0900

    Cleanup glade_widget_adaptor_get_children()

 gladeui/glade-widget-adaptor.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/gladeui/glade-widget-adaptor.c b/gladeui/glade-widget-adaptor.c
index a2a1a2f..f899182 100644
--- a/gladeui/glade-widget-adaptor.c
+++ b/gladeui/glade-widget-adaptor.c
@@ -3491,13 +3491,7 @@ glade_widget_adaptor_get_children (GladeWidgetAdaptor * adaptor,
   g_return_val_if_fail (g_type_is_a (G_OBJECT_TYPE (container), adaptor->priv->type),
                         NULL);
 
-  if (GLADE_WIDGET_ADAPTOR_GET_CLASS (adaptor)->get_children)
-    return GLADE_WIDGET_ADAPTOR_GET_CLASS
-        (adaptor)->get_children (adaptor, container);
-
-  /* Dont complain here if no implementation is found */
-
-  return NULL;
+  return GLADE_WIDGET_ADAPTOR_GET_CLASS (adaptor)->get_children (adaptor, container);
 }
 
 /**



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