Code

Fix compile warning about construction order.
authorjohanengelen <johanengelen@users.sourceforge.net>
Sun, 25 Mar 2007 23:41:11 +0000 (23:41 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Sun, 25 Mar 2007 23:41:11 +0000 (23:41 +0000)
src/ui/dialog/document-properties.cpp

index f4257206228ac39f8d2da49773b5d92a8961b4e7..15f15dfcaf236748d24c33ec56e6cc016b576072 100644 (file)
@@ -94,9 +94,9 @@ DocumentProperties::DocumentProperties()
     : Dialog ("dialogs.documentoptions", SP_VERB_DIALOG_NAMEDVIEW),
       _page_page(1, 1), _page_grid(1, 1), _page_guides(1, 1),
       _page_snap(1, 1), _page_grids(1, 1),
-      _prefs_path("dialogs.documentoptions"),
       _grids_button_new(_("_New"), _("Create new grid.")),
-      _grids_button_remove(_("_Remove"), _("Remove selected grid."))
+      _grids_button_remove(_("_Remove"), _("Remove selected grid.")),
+      _prefs_path("dialogs.documentoptions")
 {
     set_resizable (false);
     _tt.enable();