changeset 3878:31560d541b76

[gaim-migrate @ 4030] here. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sun, 03 Nov 2002 08:25:13 +0000
parents d8056e48eb52
children 745e8582a7f7
files src/buddy.c
diffstat 1 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Sun Nov 03 08:22:23 2002 +0000
+++ b/src/buddy.c	Sun Nov 03 08:25:13 2002 +0000
@@ -2490,14 +2490,11 @@
 
 void gaim_separator(GtkWidget *menu)
 {
-	GtkWidget *sep, *menuitem;
-	sep = gtk_hseparator_new();
-	menuitem = gtk_menu_item_new();
+	GtkWidget *menuitem;
+
+	menuitem = gtk_separator_menu_item_new();
+	gtk_widget_show(menuitem);
 	gtk_menu_append(GTK_MENU(menu), menuitem);
-	gtk_container_add(GTK_CONTAINER(menuitem), sep);
-	gtk_widget_set_sensitive(menuitem, FALSE);
-	gtk_widget_show(menuitem);
-	gtk_widget_show(sep);
 }