comparison pidgin/gtknotify.c @ 18029:9e648622bf72

Fix this compile warning: gtknotify.c: In function ¡Æpidgin_notify_searchresults¡Ç: gtknotify.c:714: warning: ¡Æwindow¡Ç is used uninitialized in this function
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 02 Jun 2007 11:41:18 +0000
parents 92c3c2eeba87
children 40d51793f2d7
comparison
equal deleted inserted replaced
18028:2754427b85ca 18029:9e648622bf72
708 data = g_malloc(sizeof(PidginNotifySearchResultsData)); 708 data = g_malloc(sizeof(PidginNotifySearchResultsData));
709 data->user_data = user_data; 709 data->user_data = user_data;
710 data->results = results; 710 data->results = results;
711 711
712 /* Create the window */ 712 /* Create the window */
713 pidgin_create_window(title ? title :_("Search Results"), PIDGIN_HIG_BORDER, NULL, TRUE); 713 window = pidgin_create_window(title ? title :_("Search Results"), PIDGIN_HIG_BORDER, NULL, TRUE);
714 gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG); 714 gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
715 715
716 g_signal_connect_swapped(G_OBJECT(window), "delete_event", 716 g_signal_connect_swapped(G_OBJECT(window), "delete_event",
717 G_CALLBACK(searchresults_close_cb), data); 717 G_CALLBACK(searchresults_close_cb), data);
718 718