aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-new-dialog.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2008-06-04 02:37:17 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2008-06-04 02:37:17 +0800
commit73ec31f853db571ab5e24901c34c795426a62b39 (patch)
tree2f41352f159d9e716276fb55847d8dbf225bb4c9 /widgets/menus/gal-view-new-dialog.c
parentb98a472f23c3a570927ecee0264f9c924f2e9634 (diff)
downloadgsoc2013-evolution-73ec31f853db571ab5e24901c34c795426a62b39.tar.gz
gsoc2013-evolution-73ec31f853db571ab5e24901c34c795426a62b39.tar.zst
gsoc2013-evolution-73ec31f853db571ab5e24901c34c795426a62b39.zip
gtk_window_set_policy -> gtk_window_set_resizable.
2008-06-03 Kjartan Maraas <kmaraas@gnome.org> * 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
Diffstat (limited to 'widgets/menus/gal-view-new-dialog.c')
-rw-r--r--widgets/menus/gal-view-new-dialog.c10
1 files changed, 5 insertions, 5 deletions
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"));