aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-08-24 21:29:38 -0500
committerTed Gould <ted@gould.cx>2011-08-24 21:29:38 -0500
commit78470983d1c9833bf9353f3b36a62ee5a0382899 (patch)
tree93e7e31de726217f1f3d49c334712c57ff20ec95
parentd1898c3e94c48e9369a7142c7c7d8986bcbbb184 (diff)
downloadayatana-indicator-messages-78470983d1c9833bf9353f3b36a62ee5a0382899.tar.gz
ayatana-indicator-messages-78470983d1c9833bf9353f3b36a62ee5a0382899.tar.bz2
ayatana-indicator-messages-78470983d1c9833bf9353f3b36a62ee5a0382899.zip
Don't look up a style value we're not using
-rw-r--r--src/indicator-messages.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 3a8bbf9..2476d4d 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -581,9 +581,6 @@ new_application_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbu
GtkMenuItem * gmi = GTK_MENU_ITEM(gtk_image_menu_item_new());
gtk_image_menu_item_set_always_show_image(GTK_IMAGE_MENU_ITEM(gmi), TRUE);
- gint padding = 4;
- gtk_widget_style_get(GTK_WIDGET(gmi), "horizontal-padding", &padding, NULL);
-
/* Set the minimum size, we always want it to take space */
gint width, height;
gtk_icon_size_lookup(GTK_ICON_SIZE_MENU, &width, &height);