diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2007-05-17 22:51:42 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2007-05-17 22:51:42 +0000 |
| commit | 511f6b5e1045765e5fa4afb94a42436347989586 (patch) | |
| tree | 1799fadeb4e48c75f04690d102599f650f0138d7 /src/ui/dialog/document-properties.cpp | |
| parent | noop: Use G_N_ELEMENTS in attach_all callers instead of passing sizeof. (diff) | |
| download | inkscape-511f6b5e1045765e5fa4afb94a42436347989586.tar.gz inkscape-511f6b5e1045765e5fa4afb94a42436347989586.zip | |
Avoid a gtk g_critical message when building Document Properties dialog.
(bzr r3024)
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
| -rw-r--r-- | src/ui/dialog/document-properties.cpp | 6 |
1 files 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); } |
