im.pidgin.pidgin: 3133c9e999e0ddafed7945396043b1d693afcd74

sadrul at pidgin.im sadrul at pidgin.im
Wed Jan 2 07:05:44 EST 2008


-----------------------------------------------------------------
Revision: 3133c9e999e0ddafed7945396043b1d693afcd74
Ancestor: 175d085ea840512e97e3b1d0b4e6c4a6de0779e8
Author: sadrul at pidgin.im
Date: 2008-01-02T12:07:15
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkimhtml.c

ChangeLog: 

Remove unused code.

-------------- next part --------------
============================================================
--- pidgin/gtkimhtml.c	50f50373a201e064db42c5dd1c4cce51dc50faf1
+++ pidgin/gtkimhtml.c	f8fdf993787bc905cd25727388eec50f321e3070
@@ -4277,33 +4277,6 @@ static void imhtml_emit_signal_for_forma
 	g_object_unref(object);
 }
 
-static void populate_popup_cb(GtkTextView *textview, GtkMenu *menu, gpointer nul)
-{
-	GtkWidget *mi, *img;
-	
-	mi = gtk_menu_item_new();
-	gtk_widget_show(mi);
-	gtk_menu_shell_prepend(GTK_MENU_SHELL(menu), mi);
-
-	img = gtk_image_new_from_stock(GTK_STOCK_BOLD, GTK_ICON_SIZE_MENU);
-	mi = gtk_image_menu_item_new_with_mnemonic(_("_Font"));
-	gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(mi), img);
-	gtk_widget_show(mi);
-	gtk_menu_shell_prepend(GTK_MENU_SHELL(menu), mi);
-
-	img = gtk_image_new_from_stock(PIDGIN_STOCK_TOOLBAR_INSERT, GTK_ICON_SIZE_MENU);
-	mi = gtk_image_menu_item_new_with_mnemonic(_("_Insert"));
-	gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(mi), img);
-	gtk_widget_show(mi);
-	gtk_menu_shell_prepend(GTK_MENU_SHELL(menu), mi);
-
-	img = gtk_image_new_from_stock(PIDGIN_STOCK_TOOLBAR_SMILEY, GTK_ICON_SIZE_MENU);
-	mi = gtk_image_menu_item_new_with_mnemonic(_("S_mile!"));
-	gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(mi), img);
-	gtk_widget_show(mi);
-	gtk_menu_shell_prepend(GTK_MENU_SHELL(menu), mi);
-}
-
 static void imhtml_toggle_bold(GtkIMHtml *imhtml)
 {
 	GtkTextIter start, end;


More information about the Commits mailing list