From 0dd12485e26b98c7eb9963768ec4bd9869186d98 Mon Sep 17 00:00:00 2001 From: pjrm Date: Thu, 17 May 2007 22:51:42 +0000 Subject: [PATCH] Avoid a gtk g_critical message when building Document Properties dialog. --- src/ui/dialog/document-properties.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index 4bf4db48a..9bf2d761d 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -370,11 +370,11 @@ DocumentProperties::build_gridspage() label_crea, 0, label_crea_type, (Gtk::Widget*) &_grids_combo_gridtype, (Gtk::Widget*) &_grids_button_new, (Gtk::Widget*) &_grids_button_remove, - label_def, 0, - (Gtk::Widget*) &_grids_notebook, 0 + label_def, 0 }; - attach_all(_page_grids.table(), widget_array, G_N_ELEMENTS(widget_array)); + _page_grids.table().attach(_grids_notebook, 0, 3, 4, 5, + Gtk::FILL|Gtk::EXPAND, (Gtk::AttachOptions)0,0,0); } -- 2.30.2