summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorDoug McLain <doug@nostar.net>2005-12-17 13:39:27 +0000
committerDoug McLain <doug@nostar.net>2005-12-17 13:39:27 +0000
commitd2b8a7f6bdcb66960c387449cfb2877bd896ceeb (patch)
treec3d4efe706ffcbfcd8dfdfbe59644989c09aa5ee /libs
parent170d6b24cec9b7fe51d74b75544a097948e03082 (diff)
A possible method for correctly sizing the editor controls, and a couple buttons fixed
git-svn-id: svn://localhost/trunk/ardour2@195 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/gtkmm2ext/utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gtkmm2ext/utils.cc b/libs/gtkmm2ext/utils.cc
index 23b4c3b5d5..d52ab42ee7 100644
--- a/libs/gtkmm2ext/utils.cc
+++ b/libs/gtkmm2ext/utils.cc
@@ -35,10 +35,10 @@ Gtkmm2ext::set_size_request_to_display_given_text (Gtk::Widget &w, const gchar *
{
int height = 0;
- int width = 0;
+ int width = 0;
w.ensure_style ();
- w.create_pango_layout(text)->get_pixel_size (width, height);
+ w.create_pango_layout(text)->get_pixel_size (width, height);
height += vpadding;
width += hpadding;