summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-06-07 19:54:40 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-06-07 19:54:40 -0400
commit34085147e91637ff4ea68e301b44eac4f13932ec (patch)
tree89bb9035eb3372bcd46fb605de7cd4d22b28d10b /gtk/gtkfilechooserbutton.c
parent29e664629225128e9d8be02aa27b95a3d0ad47ef (diff)
downloadgtk+-34085147e91637ff4ea68e301b44eac4f13932ec.tar.gz
GtkFileChooserButton: derive from GtkBox, not GtkHBox
Diffstat (limited to 'gtk/gtkfilechooserbutton.c')
-rw-r--r--gtk/gtkfilechooserbutton.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index d785bd151c..81b720d5b4 100644
--- a/gtk/gtkfilechooserbutton.c
+++ b/gtk/gtkfilechooserbutton.c
@@ -52,6 +52,8 @@
#include "gtkfilechooserbutton.h"
+#include "gtkorientable.h"
+
#include "gtktypebuiltins.h"
#include "gtkprivate.h"
@@ -342,7 +344,7 @@ static guint file_chooser_button_signals[LAST_SIGNAL] = { 0 };
* GType Declaration *
* ******************* */
-G_DEFINE_TYPE_WITH_CODE (GtkFileChooserButton, gtk_file_chooser_button, GTK_TYPE_HBOX, { \
+G_DEFINE_TYPE_WITH_CODE (GtkFileChooserButton, gtk_file_chooser_button, GTK_TYPE_BOX, { \
G_IMPLEMENT_INTERFACE (GTK_TYPE_FILE_CHOOSER, gtk_file_chooser_button_file_chooser_iface_init) \
})