comparison src/dialogs.c @ 3847:ccb122620b1a

[gaim-migrate @ 3999] fixes a compile warning in dialog.c. thanks Ari Pollak (sourceo) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 01 Nov 2002 13:17:06 +0000
parents b7b1bd70dfdb
children 22ed8423a964
comparison
equal deleted inserted replaced
3846:0750fbdaf64e 3847:ccb122620b1a
950 GtkWidget *img = gtk_image_new_from_file(filename); 950 GtkWidget *img = gtk_image_new_from_file(filename);
951 951
952 struct addbuddy *a = g_new0(struct addbuddy, 1); 952 struct addbuddy *a = g_new0(struct addbuddy, 1);
953 a->gc = gc; 953 a->gc = gc;
954 954
955 a->window = gtk_dialog_new_with_buttons("", blist, GTK_DIALOG_MODAL, 955 a->window = gtk_dialog_new_with_buttons("", GTK_WINDOW(blist), GTK_DIALOG_MODAL,
956 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_ADD, GTK_RESPONSE_OK, NULL); 956 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_ADD, GTK_RESPONSE_OK, NULL);
957 gtk_dialog_set_default_response (GTK_DIALOG(a->window), GTK_RESPONSE_OK); 957 gtk_dialog_set_default_response (GTK_DIALOG(a->window), GTK_RESPONSE_OK);
958 gtk_container_set_border_width (GTK_CONTAINER(a->window), 6); 958 gtk_container_set_border_width (GTK_CONTAINER(a->window), 6);
959 gtk_window_set_resizable(GTK_WINDOW(a->window), FALSE); 959 gtk_window_set_resizable(GTK_WINDOW(a->window), FALSE);
960 gtk_dialog_set_has_separator(GTK_DIALOG(a->window), FALSE); 960 gtk_dialog_set_has_separator(GTK_DIALOG(a->window), FALSE);