comparison src/about.c @ 622:7f8b85e2e894

[gaim-migrate @ 632] Let's go back to this until I figure out what I want to do with the user interface. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sun, 06 Aug 2000 03:35:17 +0000
parents faa7603ae02e
children b3900e312d8e
comparison
equal deleted inserted replaced
621:991bf4e3c9fe 622:7f8b85e2e894
114 gtk_widget_show(label2); 114 gtk_widget_show(label2);
115 115
116 gtk_signal_connect(GTK_OBJECT(eventbox), "button_press_event", 116 gtk_signal_connect(GTK_OBJECT(eventbox), "button_press_event",
117 GTK_SIGNAL_FUNC(about_click), NULL); 117 GTK_SIGNAL_FUNC(about_click), NULL);
118 gdk_window_set_cursor(eventbox->window, gdk_cursor_new(GDK_HAND2)); 118 gdk_window_set_cursor(eventbox->window, gdk_cursor_new(GDK_HAND2));
119 119
120 button = picture_button(about, _("Close"), gnome_close_xpm); 120 button = gtk_button_new_with_label("Close");
121
121 if (null == NULL) /* there's a mindtrip */ 122 if (null == NULL) /* there's a mindtrip */
122 gtk_signal_connect_object(GTK_OBJECT(button), "clicked", 123 gtk_signal_connect_object(GTK_OBJECT(button), "clicked",
123 GTK_SIGNAL_FUNC(destroy_about), GTK_OBJECT(about)); 124 GTK_SIGNAL_FUNC(destroy_about), GTK_OBJECT(about));
124 else 125 else
125 gtk_signal_connect(GTK_OBJECT(button), "clicked", 126 gtk_signal_connect(GTK_OBJECT(button), "clicked",