diff options
author | Ted Gould <ted@gould.cx> | 2012-02-07 21:11:18 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-02-07 21:11:18 -0600 |
commit | 455f5df69319c0feb5e64317bef16925623e8ac5 (patch) | |
tree | 80591e7172255d17c54787082791730675afb062 /src/user-widget.c | |
parent | dadd9430e33c73e1a007f280694bc5e908472757 (diff) | |
parent | 6975e8a7aab320c77f3cb3de345415b9f26ba5cd (diff) | |
download | ayatana-indicator-session-455f5df69319c0feb5e64317bef16925623e8ac5.tar.gz ayatana-indicator-session-455f5df69319c0feb5e64317bef16925623e8ac5.tar.bz2 ayatana-indicator-session-455f5df69319c0feb5e64317bef16925623e8ac5.zip |
Import upstream version 0.3.90
Diffstat (limited to 'src/user-widget.c')
-rw-r--r-- | src/user-widget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/user-widget.c b/src/user-widget.c index 937a9eb..88ac11c 100644 --- a/src/user-widget.c +++ b/src/user-widget.c @@ -136,7 +136,11 @@ user_widget_init (UserWidget *self) gtk_misc_set_padding (GTK_MISC(priv->user_image),0, 4.0); priv->user_name = gtk_label_new (""); +#if HAVE_GTK3 + priv->container = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); +#else priv->container = gtk_hbox_new (FALSE, 0); +#endif priv->tick_icon = gtk_image_new_from_icon_name ("account-logged-in", GTK_ICON_SIZE_MENU); gtk_misc_set_alignment(GTK_MISC(priv->tick_icon), 1.0, 0.5); |