src/util.c

changeset 804
c606c9aacfc5
parent 770
f2e4dd20c2d4
child 831
b1d5ab85f4e7
equal deleted inserted replaced
803:e322b3985e7e 804:c606c9aacfc5
930 930
931 /* this causes clipping on lots of buttons with long text */ 931 /* this causes clipping on lots of buttons with long text */
932 /* gtk_widget_set_usize(button, 75, 30);*/ 932 /* gtk_widget_set_usize(button, 75, 30);*/
933 gtk_widget_show(button); 933 gtk_widget_show(button);
934 gdk_pixmap_unref(pm); 934 gdk_pixmap_unref(pm);
935 gdk_bitmap_unref(mask);
935 936
936 return button; 937 return button;
937 } 938 }
938 939
939 static GtkTooltips *tips = NULL; 940 static GtkTooltips *tips = NULL;
971 gtk_widget_show(pixmap); 972 gtk_widget_show(pixmap);
972 gtk_widget_show(button_box_2); 973 gtk_widget_show(button_box_2);
973 gtk_widget_show(button_box); 974 gtk_widget_show(button_box);
974 gtk_widget_show(button); 975 gtk_widget_show(button);
975 gdk_pixmap_unref(pm); 976 gdk_pixmap_unref(pm);
977 gdk_bitmap_unref(mask);
976 978
977 gtk_tooltips_set_tip(tips, button, text, "Gaim"); 979 gtk_tooltips_set_tip(tips, button, text, "Gaim");
978 return button; 980 return button;
979 } 981 }
980 982

mercurial