Code

more unreffing temporary styles properly
[inkscape.git] / src / ui / dialog / document-metadata.cpp
index 090cb42ca665297ca2d63c9856b126e95a6570b5..a3e87b31b5fd1c3c97c983d1642459d116b91931 100644 (file)
@@ -87,7 +87,7 @@ DocumentMetadata::DocumentMetadata()
       _prefs_path("dialogs.documentmetadata")
 {
     hide();
-    set_resizable (false);
+    set_resizable (true);
     _tt.enable();
     get_vbox()->set_spacing (4);
     get_vbox()->pack_start (_notebook, true, true);
@@ -156,7 +156,7 @@ attach_all (Gtk::Table &table, const Gtk::Widget *arr[], unsigned size, int star
                       Gtk::FILL|Gtk::EXPAND, (Gtk::AttachOptions)0,0,0);
             else if (arr[i])
             {
-                Gtk::Label& label = reinterpret_cast<Gtk::Label&> (const_cast<Gtk::Widget&>(*arr[i]));
+                Gtk::Label& label = static_cast<Gtk::Label&> (const_cast<Gtk::Widget&>(*arr[i]));
                 label.set_alignment (0.0);
                 table.attach (label, 0, 3, r, r+1, 
                       Gtk::FILL|Gtk::EXPAND, (Gtk::AttachOptions)0,0,0);