aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-01-22 10:57:19 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-01-22 10:57:19 +0100
commitb2b83a02f97e077f1b42bf6e16210b368fb6a710 (patch)
tree10c3e295b3f1472247be5c3bbd2619ba2818add9
parentd3f2a4b29a08e4d191519eca806cd8b82f6d3f69 (diff)
downloadayatana-indicator-messages-b2b83a02f97e077f1b42bf6e16210b368fb6a710.tar.gz
ayatana-indicator-messages-b2b83a02f97e077f1b42bf6e16210b368fb6a710.tar.bz2
ayatana-indicator-messages-b2b83a02f97e077f1b42bf6e16210b368fb6a710.zip
Use gtk_box_new instead of gtk_hbox_new
gtk_hbox_new is deprecated and using it broke the build with -Werror=deprecated-declarations, which seems to be enabled by default.
-rw-r--r--src/indicator-messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index d13de56..82fcfaf 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -695,7 +695,7 @@ new_indicator_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbusm
gint font_size = RIGHT_LABEL_FONT_SIZE;
gtk_widget_style_get(GTK_WIDGET(gmi), "toggle-spacing", &padding, NULL);
- GtkWidget * hbox = gtk_hbox_new(FALSE, padding);
+ GtkWidget * hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, padding);
/* Icon, probably someone's face or avatar on an IM */
mi_data->icon = gtk_image_new();