# HG changeset patch # User Sadrul Habib Chowdhury # Date 1258705711 0 # Node ID 998c37689f7c06681b80f2b546f9f425cff4df17 # Parent c31707e63726c4869f5bf0372cd9e0939b19625e Remove some dead code. diff -r c31707e63726 -r 998c37689f7c pidgin/gtkimhtmltoolbar.c --- a/pidgin/gtkimhtmltoolbar.c Fri Nov 20 08:02:10 2009 +0000 +++ b/pidgin/gtkimhtmltoolbar.c Fri Nov 20 08:28:31 2009 +0000 @@ -1501,7 +1501,6 @@ 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 @@ 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); }