comparison src/dialogs.c @ 804:17def2bb9720

[gaim-migrate @ 814] 17:24:37 RobFlynn: Reformatted? 17:24:59 EWarmenhoven: well, "preferences" "plugins" and "perl". one of these things is not like the others committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 31 Aug 2000 00:25:25 +0000
parents ffb824f6cd24
children 9108277c95e9
comparison
equal deleted inserted replaced
803:7f75b17d4e14 804:17def2bb9720
3052 3052
3053 dpm = gdk_pixmap_create_from_xpm_d(win->window, &mask, &win->style->white, xpm); 3053 dpm = gdk_pixmap_create_from_xpm_d(win->window, &mask, &win->style->white, xpm);
3054 tpm = gtk_pixmap_new(dpm, mask); 3054 tpm = gtk_pixmap_new(dpm, mask);
3055 gtk_widget_show(tpm); 3055 gtk_widget_show(tpm);
3056 gdk_pixmap_unref(dpm); 3056 gdk_pixmap_unref(dpm);
3057 gdk_bitmap_unref(mask);
3057 button = gtk_toolbar_append_element(GTK_TOOLBAR(bar), GTK_TOOLBAR_CHILD_BUTTON, NULL, NULL, NULL, NULL, tpm, GTK_SIGNAL_FUNC(set_smiley_array), (int *)face); 3058 button = gtk_toolbar_append_element(GTK_TOOLBAR(bar), GTK_TOOLBAR_CHILD_BUTTON, NULL, NULL, NULL, NULL, tpm, GTK_SIGNAL_FUNC(set_smiley_array), (int *)face);
3058 gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(insert_smiley_text), c); 3059 gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(insert_smiley_text), c);
3059 3060
3060 /* these look really weird with borders */ 3061 /* these look really weird with borders */
3061 gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE); 3062 gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE);