[gtk+/gtk-2-90: 131/146] Remove unused function



commit c6ef492ad61ac19277c6f2a609ac52c7e0255482
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Nov 18 04:45:28 2009 +0100

    Remove unused function
    
    gtk_container_foreach_unmarshal() is not used anymore.

 gtk/gtkcontainer.c |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index d34eb46..d478881 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -1534,25 +1534,6 @@ struct _GtkForeachData
   gpointer           callback_data;
 };
 
-static void
-gtk_container_foreach_unmarshal (GtkWidget *child,
-				 gpointer data)
-{
-  GtkForeachData *fdata = (GtkForeachData*) data;
-  GtkArg args[2];
-  
-  /* first argument */
-  args[0].name = NULL;
-  args[0].type = G_TYPE_FROM_INSTANCE (child);
-  GTK_VALUE_OBJECT (args[0]) = GTK_OBJECT (child);
-  
-  /* location for return value */
-  args[1].name = NULL;
-  args[1].type = G_TYPE_NONE;
-  
-  fdata->callback (fdata->container, fdata->callback_data, 1, args);
-}
-
 /**
  * gtk_container_set_focus_child:
  * @container: a #GtkContainer



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