[gtk+/gtk-2-90: 130/200] Remove unused function



commit 73b066814b72fffd32d10ce2b2499a78453344bf
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 fd8f239..3e1fa75 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -1538,25 +1538,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]