aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-02-11 18:09:46 -0500
committerKen VanDine <ken.vandine@canonical.com>2010-02-11 18:09:46 -0500
commit1841df081dc9dc37b8d40ec46a35ce767bb5ce96 (patch)
tree2b0202abea8f6a3ddf7f560d2ad9e7945fd3fc42 /src
parentcf57f2279875e3f3aac23074323bce02bed05f4b (diff)
downloadayatana-ido-1841df081dc9dc37b8d40ec46a35ce767bb5ce96.tar.gz
ayatana-ido-1841df081dc9dc37b8d40ec46a35ce767bb5ce96.tar.bz2
ayatana-ido-1841df081dc9dc37b8d40ec46a35ce767bb5ce96.zip
fixed build failure where secondary_padding wasn't initialized
Diffstat (limited to 'src')
-rw-r--r--src/idoscalemenuitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index a08f2fc..668a8b1 100644
--- a/src/idoscalemenuitem.c
+++ b/src/idoscalemenuitem.c
@@ -116,7 +116,7 @@ ido_scale_menu_item_size_allocate (GtkWidget *widget,
NULL);
primary_padding = GTK_WIDGET_VISIBLE (priv->primary_image) ? primary_image_req.width : 0;
- secondary_padding += GTK_WIDGET_VISIBLE (priv->secondary_image) ? secondary_image_req.width : 0;
+ secondary_padding = GTK_WIDGET_VISIBLE (priv->secondary_image) ? secondary_image_req.width : 0;
priv->left_padding = gtk_widget_get_direction (widget) == GTK_TEXT_DIR_LTR ? primary_padding : secondary_padding;