[epiphany/tmp-gnome-2-32: 19/31] ephy-gui: remove unused method



commit c201cbfed9dbff62ea3bf289b18dfc03bdb29516
Author: Xan Lopez <xan gnome org>
Date:   Sat Jun 12 22:39:42 2010 +0300

    ephy-gui: remove unused method

 lib/ephy-gui.c |   25 -------------------------
 lib/ephy-gui.h |    3 ---
 2 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c
index 0e495df..f92e0be 100644
--- a/lib/ephy-gui.c
+++ b/lib/ephy-gui.c
@@ -507,31 +507,6 @@ ephy_gui_message_dialog_get_content_box (GtkWidget *dialog)
 	return container;
 }
 
-/* Until bug #345349 is fixed */
-void
-ephy_gui_message_dialog_set_wrap_mode (GtkMessageDialog *dialog,
-				       PangoWrapMode wrap_mode)
-{
-	GtkContainer *container;
-	GList *children, *l;
-
-	container = GTK_CONTAINER (dialog->label->parent);
-	g_return_if_fail (GTK_IS_CONTAINER (container));
-
-	children = gtk_container_get_children (container);
-	for (l = children; l != NULL; l = l->next)
-	{
-		GtkWidget *child = l->data;
-
-		if (GTK_IS_LABEL (child))
-		{
-			g_print ("Setting wrap mode on label %p\n", child);
-			gtk_label_set_line_wrap_mode (GTK_LABEL (child),
-						      wrap_mode);
-		}
-	}
-}
-
 static void
 checkbutton_toggled_cb (GtkToggleButton *button,
 			const char *pref)
diff --git a/lib/ephy-gui.h b/lib/ephy-gui.h
index b32fd7f..d5e02d6 100644
--- a/lib/ephy-gui.h
+++ b/lib/ephy-gui.h
@@ -72,9 +72,6 @@ void		ephy_gui_window_update_user_time	 (GtkWidget *window,
 
 GtkWidget      *ephy_gui_message_dialog_get_content_box	 (GtkWidget *dialog);
 
-void		ephy_gui_message_dialog_set_wrap_mode	 (GtkMessageDialog *dialog,
-							  PangoWrapMode wrap_mode);
-
 void		ephy_gui_connect_checkbutton_to_gconf	 (GtkWidget *widget,
 							  const char *pref);
 



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