From 73ec31f853db571ab5e24901c34c795426a62b39 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Tue, 3 Jun 2008 18:37:17 +0000 Subject: gtk_window_set_policy -> gtk_window_set_resizable. 2008-06-03 Kjartan Maraas * menus/gal-define-views-dialog.c: (gal_define_views_dialog_init): * menus/gal-view-new-dialog.c: (gal_view_new_dialog_init): gtk_window_set_policy -> gtk_window_set_resizable. svn path=/trunk/; revision=35586 --- widgets/menus/gal-view-new-dialog.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'widgets/menus/gal-view-new-dialog.c') diff --git a/widgets/menus/gal-view-new-dialog.c b/widgets/menus/gal-view-new-dialog.c index b87d1064f9..5fab621174 100644 --- a/widgets/menus/gal-view-new-dialog.c +++ b/widgets/menus/gal-view-new-dialog.c @@ -88,21 +88,21 @@ gal_view_new_dialog_init (GalViewNewDialog *dialog) g_free (filename); dialog->gui = gui; - widget = glade_xml_get_widget(gui, "table-top"); + widget = glade_xml_get_widget (gui, "table-top"); if (!widget) { return; } - g_object_ref(widget); + g_object_ref (widget); gtk_container_remove (GTK_CONTAINER (widget->parent), widget); - gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), widget, TRUE, TRUE, 0); - g_object_unref(widget); + gtk_box_pack_start (GTK_BOX(GTK_DIALOG(dialog)->vbox), widget, TRUE, TRUE, 0); + g_object_unref (widget); gtk_dialog_add_buttons (GTK_DIALOG (dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); - gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, TRUE, FALSE); + gtk_window_set_resizable (GTK_WINDOW(dialog), TRUE); gtk_window_set_modal (GTK_WINDOW(dialog), TRUE); gtk_window_set_title (GTK_WINDOW(dialog), _("Define New View")); -- cgit