aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-dateedit.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-04-30 00:59:12 +0800
committerDan Winship <danw@src.gnome.org>2003-04-30 00:59:12 +0800
commitfa9dddd0053922ae9424c3114a18a9567a453b44 (patch)
tree4b5dcc0750402289a1a0236a07e4d19b85f06f8b /widgets/misc/e-dateedit.c
parentf5353de1b3e42b5ea7416de9418211600b9966cb (diff)
downloadgsoc2013-evolution-fa9dddd0053922ae9424c3114a18a9567a453b44.tar.gz
gsoc2013-evolution-fa9dddd0053922ae9424c3114a18a9567a453b44.tar.zst
gsoc2013-evolution-fa9dddd0053922ae9424c3114a18a9567a453b44.zip
Remove this so that GtkContainer's destroy method will destroy all of the
* e-dateedit.c (e_date_edit_forall): Remove this so that GtkContainer's destroy method will destroy all of the internal widgets. (This is how other compound-widgets-that-aren't- meant-to-be-used-as-containers behave.) #41458 svn path=/trunk/; revision=21003
Diffstat (limited to 'widgets/misc/e-dateedit.c')
-rw-r--r--widgets/misc/e-dateedit.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c
index a812c9d332..a7e265eff0 100644
--- a/widgets/misc/e-dateedit.c
+++ b/widgets/misc/e-dateedit.c
@@ -138,10 +138,6 @@ static void e_date_edit_init (EDateEdit *dedit);
static void create_children (EDateEdit *dedit);
static void e_date_edit_dispose (GObject *object);
static void e_date_edit_grab_focus (GtkWidget *widget);
-static void e_date_edit_forall (GtkContainer *container,
- gboolean include_internals,
- GtkCallback callback,
- gpointer callback_data);
static gint on_date_entry_key_press (GtkWidget *widget,
GdkEventKey *event,
@@ -241,7 +237,6 @@ e_date_edit_class_init (EDateEditClass *class)
{
GObjectClass *object_class = (GObjectClass *) class;
GtkWidgetClass *widget_class = (GtkWidgetClass *) class;
- GtkContainerClass *container_class = (GtkContainerClass *) class;
parent_class = g_type_class_ref (GTK_TYPE_HBOX);
@@ -258,8 +253,6 @@ e_date_edit_class_init (EDateEditClass *class)
widget_class->grab_focus = e_date_edit_grab_focus;
- container_class->forall = e_date_edit_forall;
-
class->changed = NULL;
}
@@ -518,24 +511,6 @@ e_date_edit_set_editable (EDateEdit *dedit, gboolean editable)
gtk_widget_set_sensitive (priv->date_button, editable);
}
-static void
-e_date_edit_forall (GtkContainer *container,
- gboolean include_internals,
- GtkCallback callback,
- gpointer callback_data)
-{
- g_return_if_fail (E_IS_DATE_EDIT (container));
- g_return_if_fail (callback != NULL);
-
- /* Let GtkBox handle the internal widgets if needed. */
- if (include_internals) {
- if (GTK_CONTAINER_CLASS (parent_class)->forall)
- (* GTK_CONTAINER_CLASS (parent_class)->forall)
- (container, include_internals,
- callback, callback_data);
- }
-}
-
/**
* e_date_edit_get_time: