pidgin: f55a6de0: Remove some dead code.

sadrul at pidgin.im sadrul at pidgin.im
Fri Nov 20 03:35:26 EST 2009


-----------------------------------------------------------------
Revision: f55a6de062898ca760e000fb807d5a22a573e3a8
Ancestor: 1699d9de0276d31fa6c1d08622f4ee3720c8a34a
Author: sadrul at pidgin.im
Date: 2009-11-20T08:28:31
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f55a6de062898ca760e000fb807d5a22a573e3a8

Modified files:
        pidgin/gtkimhtmltoolbar.c

ChangeLog: 

Remove some dead code.

-------------- next part --------------
============================================================
--- pidgin/gtkimhtmltoolbar.c	709585aacd9155b46bf9dbacc24b2f9f26468368
+++ pidgin/gtkimhtmltoolbar.c	7dc95df9ec26fc1b2e9e0d82c7dc2a31149d35bf
@@ -1501,7 +1501,6 @@ void gtk_imhtmltoolbar_attach(GtkIMHtmlT
 void gtk_imhtmltoolbar_attach(GtkIMHtmlToolbar *toolbar, GtkWidget *imhtml)
 {
 	GtkIMHtmlButtons buttons;
-	gboolean bold, italic, underline;
 
 	g_return_if_fail(toolbar != NULL);
 	g_return_if_fail(GTK_IS_IMHTMLTOOLBAR(toolbar));
@@ -1517,9 +1516,6 @@ void gtk_imhtmltoolbar_attach(GtkIMHtmlT
 
 	buttons = gtk_imhtml_get_format_functions(GTK_IMHTML(imhtml));
 	update_buttons_cb(GTK_IMHTML(imhtml), buttons, toolbar);
-
-	gtk_imhtml_get_current_format(GTK_IMHTML(imhtml), &bold, &italic, &underline);
-
 	update_buttons(toolbar);
 }
 


More information about the Commits mailing list