[glade/internal-child-support] Cleanup glade_widget_adaptor_get_children()
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/internal-child-support] Cleanup glade_widget_adaptor_get_children()
- Date: Tue, 5 Apr 2011 04:28:50 +0000 (UTC)
commit 48a64940abe7630cb294c7ccc018294a07292fad
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]