diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-04-05 01:29:29 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-04-05 01:29:29 +0900 |
commit | 48a64940abe7630cb294c7ccc018294a07292fad (patch) | |
tree | a9d3280119d5dc95a169e07fff11b5370ea09345 | |
parent | 335fac30af85ec94de94ef9dd38c0c7650141cf7 (diff) | |
download | glade-48a64940abe7630cb294c7ccc018294a07292fad.tar.gz |
Cleanup glade_widget_adaptor_get_children()
-rw-r--r-- | 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 a2a1a2f9..f899182e 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); } /** |