From: pjrm Date: Thu, 17 May 2007 22:51:42 +0000 (+0000) Subject: Avoid a gtk g_critical message when building Document Properties dialog. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0dd12485e26b98c7eb9963768ec4bd9869186d98;p=inkscape.git Avoid a gtk g_critical message when building Document Properties dialog. --- 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); }