diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-12-14 13:29:26 -0500 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-12-14 13:29:26 -0500 |
commit | 97ead2117550eb6092676bcbeda633bb55c71ebb (patch) | |
tree | 1c3ced03cd9ec27f3406099e33cfb6892aa7ee2e /src/idoentrymenuitem.c | |
parent | 50b234a41b70db8f4c8b15ddaf2d15beacb602d6 (diff) | |
parent | 9b717e50b0890d938cd2cf6bb4ec938240740f31 (diff) | |
download | ayatana-ido-97ead2117550eb6092676bcbeda633bb55c71ebb.tar.gz ayatana-ido-97ead2117550eb6092676bcbeda633bb55c71ebb.tar.bz2 ayatana-ido-97ead2117550eb6092676bcbeda633bb55c71ebb.zip |
removed deprecations from gtk3 and fixed sizing issues with idemessagedialog (LP: #888392)
Diffstat (limited to 'src/idoentrymenuitem.c')
-rw-r--r-- | src/idoentrymenuitem.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/idoentrymenuitem.c b/src/idoentrymenuitem.c index 1636da9..088c559 100644 --- a/src/idoentrymenuitem.c +++ b/src/idoentrymenuitem.c @@ -25,6 +25,7 @@ #include <gdk/gdkkeysyms.h> #include "idoentrymenuitem.h" +#include "config.h" #if GTK_CHECK_VERSION (3, 0, 0) static void ido_entry_menu_item_select (GtkMenuItem *item); @@ -118,7 +119,12 @@ ido_entry_menu_item_init (IdoEntryMenuItem *item) G_CALLBACK (entry_move_focus_cb), item); +#ifdef USE_GTK3 + priv->box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); +#else priv->box = gtk_hbox_new (FALSE, 0); +#endif + gtk_box_pack_start (GTK_BOX (priv->box), priv->entry, FALSE, FALSE, 0); gtk_container_add (GTK_CONTAINER (item), priv->box); |