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



commit 45810b0a1905da7f903b424e17d3f5d960a63f81
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 f2634dd..fa24420 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -1535,25 +1535,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]