diff options
author | Kristian Rietveld <kris@gtk.org> | 2003-10-10 17:18:34 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2003-10-10 17:18:34 +0000 |
commit | e6100ecd110ab750644b6311bec304f6e1b55622 (patch) | |
tree | 5e0e740d0e55c4f281ed6682095e4a8935da8141 /gtk/gtkfilesel.c | |
parent | 7d9c4f6ea3d542d64f6802be9f1426cb699804d0 (diff) | |
download | gtk+-e6100ecd110ab750644b6311bec304f6e1b55622.tar.gz |
Deprecate. Ditto.
Fri Oct 10 19:10:12 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombo.h: Deprecate.
* gtk/gtkoptionmenu.h: Ditto.
* gtk/gtkcombobox.c (gtk_combo_box_size_request),
(gtk_combo_box_size_allocate): Rework, things behave better now. Still
needs some work on requesting enough size when taking the items in
the list into account.
* gtk/gtkfilesel.c: put gtkoptionmenu.h include inside "enable
deprecated" guards.
* gtk/gtkinputdialog.c: ditto.
* gtk/gtkitemfactory.c: ditto.
* gtk/gtkoptionmenu.c: ditto.
* demos/gtk-demo/menus.c: remove the option menu.
* demos/gtk-demo/sizegroup.c: replace the option menus with
GtkComboBox.
* demos/gtk-demo/textview.c: ditto.
(A general GtkComboBox demo will be added later on).
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r-- | gtk/gtkfilesel.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c index 90e8e2b467..e2fcb465df 100644 --- a/gtk/gtkfilesel.c +++ b/gtk/gtkfilesel.c @@ -73,12 +73,15 @@ #include "gtkvbox.h" #include "gtkmenu.h" #include "gtkmenuitem.h" -#include "gtkoptionmenu.h" #include "gtkdialog.h" #include "gtkmessagedialog.h" #include "gtkdnd.h" #include "gtkeventbox.h" +#undef GTK_DISABLE_DEPRECATED +#include "gtkoptionmenu.h" +#define GTK_DISABLE_DEPRECATED + #define WANT_HPANED 1 #include "gtkhpaned.h" |