GtkWindow *toplevel, *goto_window;
toplevel = GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (pview)));
- goto_window = GTK_WINDOW (pview->goto_window);
if (pview->goto_window) {
+ goto_window = GTK_WINDOW (pview->goto_window);
if (gtk_window_has_group (toplevel))
gtk_window_group_add_window (gtk_window_get_group (toplevel), goto_window);
else if (gtk_window_has_group (goto_window))
}
pview->goto_window = gtk_window_new (GTK_WINDOW_POPUP);
+ goto_window = GTK_WINDOW (pview->goto_window);
gtk_window_set_screen (goto_window, gtk_widget_get_screen (GTK_WIDGET (pview)));
if (gtk_window_has_group (toplevel))