This commit is contained in:
Matthias Clasen 2006-06-28 16:09:17 +00:00
parent 03de4627d3
commit 9f7a906801
4 changed files with 23 additions and 17 deletions

View File

@ -1,5 +1,8 @@
2006-06-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkitemfactory.[hc]: Don't unnecessarily use
GTK_COMPILATION.
* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Only select the
XKB event details we actually care about. (#346079, Ryan Lortie)

View File

@ -1,5 +1,8 @@
2006-06-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkitemfactory.[hc]: Don't unnecessarily use
GTK_COMPILATION.
* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Only select the
XKB event details we actually care about. (#346079, Ryan Lortie)

View File

@ -29,20 +29,23 @@
#include <config.h>
#undef GTK_DISABLE_DEPRECATED
#include "gtkitemfactory.h"
#include "gtk/gtkmenubar.h"
#include "gtk/gtkmenu.h"
#include "gtk/gtkmenuitem.h"
#include "gtk/gtkradiomenuitem.h"
#include "gtk/gtkcheckmenuitem.h"
#include "gtk/gtkimagemenuitem.h"
#include "gtk/gtktearoffmenuitem.h"
#include "gtk/gtkaccelmap.h"
#include "gtk/gtkaccellabel.h"
#include "gtkoptionmenu.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkmenubar.h"
#include "gtkmenu.h"
#include "gtkmenuitem.h"
#include "gtkradiomenuitem.h"
#include "gtkcheckmenuitem.h"
#include "gtkimagemenuitem.h"
#include "gtktearoffmenuitem.h"
#include "gtkaccelmap.h"
#include "gtkaccellabel.h"
#include "gdk/gdkkeysyms.h"
#include "gtk/gtkimage.h"
#include "gtk/gtkstock.h"
#include "gtk/gtkiconfactory.h"
#include "gtkimage.h"
#include "gtkstock.h"
#include "gtkiconfactory.h"
#include "gtkintl.h"
#include <string.h>
#include <fcntl.h>
@ -51,9 +54,6 @@
#endif
#include <stdio.h>
#undef GTK_DISABLE_DEPRECATED
#include "gtk/gtkoptionmenu.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"
/* --- defines --- */

View File

@ -38,7 +38,7 @@ G_BEGIN_DECLS
typedef gchar * (*GtkTranslateFunc) (const gchar *path,
gpointer func_data);
#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
#if !defined (GTK_DISABLE_DEPRECATED)
typedef void (*GtkPrintFunc) (gpointer func_data,
const gchar *str);
@ -231,7 +231,7 @@ void gtk_item_factory_create_menu_entries (guint n_entries,
void gtk_item_factories_path_delete (const gchar *ifactory_path,
const gchar *path);
#endif /* !GTK_DISABLE_DEPRECATED || GTK_COMPILATION */
#endif /* !GTK_DISABLE_DEPRECATED */
G_END_DECLS