Mercurial > pidgin.yaz
changeset 17225:45fcb1611bef
Forgot an instance of g_object_new and some other changes are necessary, too.
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Mon, 21 May 2007 20:01:40 +0000 |
parents | 923051464e88 |
children | 71246adf84d6 |
files | pidgin/gtkutils.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkutils.c Mon May 21 17:04:08 2007 +0000 +++ b/pidgin/gtkutils.c Mon May 21 20:01:40 2007 +0000 @@ -484,9 +484,9 @@ /* Create the label */ label = gtk_label_new (lbl); - gtk_widget_show (lbl); + gtk_widget_show (label); gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT); - gtk_misc_set_alignment(GTK_MISC(label, 0.0, 0.5)); + gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_container_add(GTK_CONTAINER(item), hbox); gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0); @@ -661,7 +661,8 @@ aop_menu = g_malloc0(sizeof(AopMenu)); aop_menu->default_item = -1; - aop_menu->menu = g_object_new(GTK_TYPE_MENU, "visible", TRUE, NULL); + aop_menu->menu = gtk_menu_new(); + gtk_widget_show(aop_menu->menu); sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); for (p = list, i = 0; p != NULL; p = p->next, i++) {