summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/styledialog.cpp
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-02-20 18:31:05 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-02-20 18:31:05 +0000
commitf025da56d5d0cb6e3717739c151814301c9644ea (patch)
treea65c97fadc60b5f809d4e21dbff7936d1c0c5b3c /src/ui/dialog/styledialog.cpp
parentMerge from master (diff)
downloadinkscape-f025da56d5d0cb6e3717739c151814301c9644ea.tar.gz
inkscape-f025da56d5d0cb6e3717739c151814301c9644ea.zip
Remov force allocation
Diffstat (limited to 'src/ui/dialog/styledialog.cpp')
-rw-r--r--src/ui/dialog/styledialog.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ui/dialog/styledialog.cpp b/src/ui/dialog/styledialog.cpp
index 2f126452a..5cf0f5cb1 100644
--- a/src/ui/dialog/styledialog.cpp
+++ b/src/ui/dialog/styledialog.cpp
@@ -279,14 +279,6 @@ StyleDialog::StyleDialog() :
_getContents()->pack_start(_paned, Gtk::PACK_EXPAND_WIDGET);
- // Dialog size request
- Gtk::Requisition sreq1, sreq2;
- get_preferred_size(sreq1, sreq2);
- int minWidth = 300;
- int minHeight = 300;
- minWidth = (sreq2.width > minWidth ? sreq2.width : minWidth );
- minHeight = (sreq2.height > minHeight ? sreq2.height : minHeight);
- set_size_request(minWidth, minHeight);
// Signal handlers
_treeView.signal_button_release_event().connect( // Needs to be release, not press.