]> Pileus Git - ~andy/gtk/commitdiff
gdk/: fully remove gdkalias hacks
authorJavier Jardón <jjardon@gnome.org>
Fri, 9 Jul 2010 00:34:45 +0000 (02:34 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sat, 10 Jul 2010 00:21:31 +0000 (02:21 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=623845

87 files changed:
docs/reference/gdk/Makefile.am
gdk/Makefile.am
gdk/directfb/gdkcolor-directfb.c
gdk/directfb/gdkcursor-directfb.c
gdk/directfb/gdkdisplay-directfb.c
gdk/directfb/gdkdnd-directfb.c
gdk/directfb/gdkdrawable-directfb.c
gdk/directfb/gdkevents-directfb.c
gdk/directfb/gdkgc-directfb.c
gdk/directfb/gdkgeometry-directfb.c
gdk/directfb/gdkglobals-directfb.c
gdk/directfb/gdkimage-directfb.c
gdk/directfb/gdkinput-directfb.c
gdk/directfb/gdkkeys-directfb.c
gdk/directfb/gdkmain-directfb.c
gdk/directfb/gdkpixmap-directfb.c
gdk/directfb/gdkproperty-directfb.c
gdk/directfb/gdkscreen-directfb.c
gdk/directfb/gdkselection-directfb.c
gdk/directfb/gdkspawn-directfb.c
gdk/directfb/gdktestutils-directfb.c
gdk/directfb/gdkvisual-directfb.c
gdk/directfb/gdkwindow-directfb.c
gdk/gdk.c
gdk/gdkapplaunchcontext.c
gdk/gdkcairo.c
gdk/gdkcolor.c
gdk/gdkcursor.c
gdk/gdkdevice.c
gdk/gdkdevicemanager.c
gdk/gdkdisplay.c
gdk/gdkdisplaymanager.c
gdk/gdkdnd.c
gdk/gdkdraw.c
gdk/gdkenumtypes.c.template
gdk/gdkevents.c
gdk/gdkgc.c
gdk/gdkglobals.c
gdk/gdkimage.c
gdk/gdkkeynames.c
gdk/gdkkeys.c
gdk/gdkkeyuni.c
gdk/gdkoffscreenwindow.c
gdk/gdkpango.c
gdk/gdkpixbuf-drawable.c
gdk/gdkpixbuf-render.c
gdk/gdkpixmap.c
gdk/gdkrectangle.c
gdk/gdkrgb.c
gdk/gdkscreen.c
gdk/gdkselection.c
gdk/gdkvisual.c
gdk/gdkwindow.c
gdk/gdkwindowimpl.c
gdk/makefile.msc
gdk/makegdkalias.pl [deleted file]
gdk/pltcheck.sh [deleted file]
gdk/win32/gdktestutils-win32.c
gdk/x11/gdkapplaunchcontext-x11.c
gdk/x11/gdkasync.c
gdk/x11/gdkcolor-x11.c
gdk/x11/gdkcursor-x11.c
gdk/x11/gdkdevicemanager-core.c
gdk/x11/gdkdevicemanager-xi.c
gdk/x11/gdkdevicemanager-xi2.c
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkdrawable-x11.c
gdk/x11/gdkeventsource.c
gdk/x11/gdkeventtranslator.c
gdk/x11/gdkgc-x11.c
gdk/x11/gdkgeometry-x11.c
gdk/x11/gdkglobals-x11.c
gdk/x11/gdkim-x11.c
gdk/x11/gdkimage-x11.c
gdk/x11/gdkinput.c
gdk/x11/gdkkeys-x11.c
gdk/x11/gdkmain-x11.c
gdk/x11/gdkpixmap-x11.c
gdk/x11/gdkproperty-x11.c
gdk/x11/gdkscreen-x11.c
gdk/x11/gdkselection-x11.c
gdk/x11/gdkspawn-x11.c
gdk/x11/gdktestutils-x11.c
gdk/x11/gdkvisual-x11.c
gdk/x11/gdkwindow-x11.c
gdk/x11/gdkxid.c

index 764a967e13eac8e71a6efb9ba51a22d22c5281c5..d726ac227b765823b97ebca498da9b1c15924bf7 100644 (file)
@@ -21,7 +21,6 @@ CFILE_GLOB=$(top_srcdir)/gdk/*.c
 
 # Header files to ignore when scanning
 IGNORE_HFILES=                 \
-       gdkalias.h              \
        gdkintl.h               \
        gdkmarshalers.h         \
        gdkkeysyms.h            \
index 2bfe4753ee709e3e9c6fadd2da3979c3e51244ae..f79edb3e701f5cd3f2060f0ec9ac5f22586fe824 100644 (file)
@@ -26,11 +26,9 @@ EXTRA_DIST +=                        \
        makeenums.pl            \
        makefile.msc            \
        gdk.symbols             \
-       makegdkalias.pl         \
        gdkenumtypes.c.template \
        gdkenumtypes.h.template \
-       abicheck.sh             \
-       pltcheck.sh
+       abicheck.sh
 
 INCLUDES =                              \
        -DG_LOG_DOMAIN=\"Gdk\"          \
@@ -105,9 +103,6 @@ gdk_public_h_sources =                              \
 gdk_built_public_sources =                     \
        gdkenumtypes.h
 
-gdk_built_private_headers =                    \
-       gdkalias.h
-
 gdk_private_headers =                          \
        gdkinternals.h                          \
        gdkdeviceprivate.h                      \
@@ -147,12 +142,10 @@ gdk_c_sources =                 \
        gdkwindowimpl.c
 
 gdk_built_sources =                            \
-       gdkaliasdef.c                           \
        gdkenumtypes.c                          \
        gdkmarshalers.h                         \
        gdkmarshalers.c                         \
-       $(gdk_built_public_sources)             \
-       $(gdk_built_private_headers)
+       $(gdk_built_public_sources)
 
 #
 # setup GDK sources and their dependencies
@@ -256,15 +249,9 @@ endif
 gdk.def: gdk.symbols
        (echo -e EXPORTS; $(CPP) -P -DALL_FILES -DGDK_WINDOWING_WIN32 -DINCLUDE_VARIABLES - <$(srcdir)/gdk.symbols | sed -e '/^$$/d' -e 's/^/   /' -e 's/G_GNUC_[^ ]*//g') > $(srcdir)/gdk.def
 
-gdkalias.h: gdk.symbols
-        $(PERL) $(srcdir)/makegdkalias.pl < $(srcdir)/gdk.symbols > gdkalias.h
-
-gdkaliasdef.c: gdk.symbols
-        $(PERL) $(srcdir)/makegdkalias.pl -def < $(srcdir)/gdk.symbols > gdkaliasdef.c
-
 TESTS_ENVIRONMENT = srcdir="$(srcdir)"
 if OS_LINUX
-TESTS = abicheck.sh pltcheck.sh
+TESTS = abicheck.sh
 endif
 
 
@@ -320,7 +307,7 @@ gdkmarshalers.h: @REBUILD@ gdkmarshalers.list
        && mv gdkmarshalers-h.tmp gdkmarshalers.h \
        || ( rm -f gdkmarshalers-h.tmp && exit 1)
 gdkmarshalers.c: @REBUILD@ gdkmarshalers.list
-       (echo "#include \"gdkalias.h\""; $(GLIB_GENMARSHAL) --prefix=_gdk_marshal $(srcdir)/gdkmarshalers.list --body) > gdkmarshalers-c.tmp    \
+       $(GLIB_GENMARSHAL) --prefix=_gdk_marshal $(srcdir)/gdkmarshalers.list --body > gdkmarshalers-c.tmp      \
        && mv gdkmarshalers-c.tmp gdkmarshalers.c \
        || ( rm -f gdkmarshalers-c.tmp && exit 1 )
 
index 7b2c5df1c19037c293c3d42d16d51e56faed0b54..67d0f7c715297f4f889ba00f9a5f09a52f4572e6 100644 (file)
@@ -42,7 +42,6 @@
 #include "gdkinternals.h"
 #include "gdkdirectfb.h"
 #include "gdkprivate-directfb.h"
-#include "gdkalias.h"
 
 
 typedef struct {
@@ -510,5 +509,3 @@ gdk_directfb_allocate_color_key (GdkColormap *colormap)
 
   private->info[255].ref_count++;
 }
-#define __GDK_COLOR_X11_C__
-#include "gdkaliasdef.c"
index f5d9a19801ebfffe54fcfb8423a494681b5d6ede..7abd0cd3b569f4b7c99ab476a14eb1ad8ede31f8 100644 (file)
@@ -35,7 +35,6 @@
 #include "gdkdirectfb.h"
 #include "gdkprivate-directfb.h"
 #include "gdkcursor.h"
-#include "gdkalias.h"
 
 #include "x-cursors.xbm"
 
@@ -545,7 +544,3 @@ gdk_display_supports_cursor_color (GdkDisplay *display)
   g_return_val_if_fail (GDK_IS_DISPLAY (display), FALSE);
   return TRUE;
 }
-
-#define __GDK_CURSOR_X11_C__
-#include "gdkaliasdef.c"
-
index 62c1f285e4b6624a95c62b7cc56ffca6cb5a3b23..78026bfc0c2164f7eaf58789411d161c82f2fb15 100644 (file)
@@ -32,7 +32,6 @@
 #include "gdkprivate-directfb.h"
 #include "gdkscreen.h"
 #include "gdkdisplaymanager.h"
-#include "gdkalias.h"
 
 
 extern void _gdk_visual_init            (void);
@@ -540,8 +539,3 @@ gdk_display_supports_composite (GdkDisplay *display)
 {
     return FALSE;
 }
-
-
-#define __GDK_DISPLAY_X11_C__
-#include "gdkaliasdef.c"
-
index 2c65aab8ee08f1b1bea32a53d3494bd73714d456..f4cd256e6ce4c0d3f9de8ec9a25f736acf8e4688 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "gdkdnd.h"
 #include "gdkproperty.h"
-#include "gdkalias.h"
 
 typedef struct _GdkDragContextPrivate GdkDragContextPrivate;
 
@@ -633,6 +632,3 @@ gdk_drag_get_selection (GdkDragContext *context)
   else
     return GDK_NONE;
 }
-
-#define __GDK_DND_X11_C__
-#include "gdkaliasdef.c"
index eb859ef4f5bf29b3033235a45f8627b61413eef8..98047e54e5c50d7ced1149d698a6a87d81f6783e 100644 (file)
@@ -43,9 +43,6 @@
 
 #include "gdkinternals.h"
 
-
-#include "gdkalias.h"
-
 #include "cairo-directfb.h"
 
 
@@ -1634,6 +1631,3 @@ gdk_directfb_ref_cairo_surface (GdkDrawable *drawable)
   g_assert (impl->cairo_surface != NULL);
   return impl->cairo_surface;
 }
-
-#define __GDK_DRAWABLE_X11_C__
-#include "gdkaliasdef.c"
index 7260547bcba913586e40fa01001a5c5d69de85b6..39363d342e858b09cb097ad794b176856e1d06de 100644 (file)
 gboolean gdk_net_wm_supports (GdkAtom property);
 #endif
 
-#include "gdkalias.h"
-
 #define EventBuffer _gdk_display->buffer
 #define DirectFB _gdk_display->directfb
 
 
-
-
-#include "gdkaliasdef.c"
-
 /*********************************************
  * Functions for maintaining the event queue *
  *********************************************/
@@ -967,6 +961,3 @@ void
 _gdk_windowing_event_data_free (GdkEvent *event)
 {
 }
-
-#define __GDK_EVENTS_X11_C__
-#include "gdkaliasdef.c"
index 7e419e8774e1675283746547b2e8fcdc514b366d..a69652369e1fcc97caa585ab72b73df5f939bbf3 100644 (file)
@@ -43,8 +43,6 @@
 #include "gdkgc.h"
 #include "gdkpixmap.h"
 
-#include "gdkalias.h"
-
 static void gdk_directfb_gc_get_values (GdkGC           *gc,
                                         GdkGCValues     *values);
 static void gdk_directfb_gc_set_values (GdkGC           *gc,
@@ -386,5 +384,3 @@ gdk_gc_get_screen (GdkGC *gc)
   
   return _gdk_screen;
 }
-#define __GDK_GC_X11_C__
-#include "gdkaliasdef.c"
index 416e1b01afbf0f0b2b71e38083164a343d2b44d1..85a39a2dca18a72d7acb559c4fc3e33dd2eb60d8 100644 (file)
@@ -37,7 +37,6 @@
 #include "gdkprivate-directfb.h"
 
 #include "gdkinternals.h"
-#include "gdkalias.h"
 
 
 void
@@ -253,6 +252,3 @@ _gdk_directfb_window_move_region (GdkWindow       *window,
   cairo_region_destroy (src_region);
   cairo_region_destroy (dest_region);
 }
-
-#define __GDK_GEOMETRY_X11_C__
-#include "gdkaliasdef.c"
index fbfd863a51499a63d704f16d7b114b35356fafe7..3e48084e9a14183474452d2c091f26ea04ee11c5 100644 (file)
@@ -36,8 +36,6 @@
 #include "gdkdirectfb.h"
 #include "gdkprivate-directfb.h"
 
-#include "gdkalias.h"
-
 
 GdkDisplayDFB *_gdk_display = NULL;
 GdkScreen          * _gdk_screen                              = NULL;
@@ -58,5 +56,3 @@ GdkEventMask         _gdk_directfb_keyboard_grab_events       = 0;
 GdkCursor          * _gdk_directfb_pointer_grab_cursor        = NULL;
 
 GdkAtom              _gdk_selection_property                  = 0;
-
-#include "gdkaliasdef.c"
index 8e1ed66c38296c8bba9745e9e9abf6997a55fa19..fe7b6aa8337f72301f8ee20d88e67017a0eac08a 100644 (file)
@@ -40,7 +40,6 @@
 #include "gdkinternals.h"
 
 #include "gdkimage.h"
-#include "gdkalias.h"
 
 
 static GList    *image_list   = NULL;
@@ -404,6 +403,3 @@ _gdk_windowing_get_bits_for_depth (GdkDisplay *display,
 
   return 0;
 }
-
-#define __GDK_IMAGE_X11_C__
-#include "gdkaliasdef.c"
index 00e0b4343d267f7b87be98afa572ba40d207f9ea..1af568247c25aa1d2a56d5b804ecba1495e0bb89 100644 (file)
@@ -40,7 +40,6 @@
 
 #include "gdkinput.h"
 #include "gdkkeysyms.h"
-#include "gdkalias.h"
 
 
 static GdkDeviceAxis gdk_input_core_axes[] =
@@ -326,7 +325,3 @@ gdk_device_set_source (GdkDevice      *device,
   g_return_if_fail (device != NULL);
   device->source = source;
 }
-
-#define __GDK_INPUT_NONE_C__
-#define __GDK_INPUT_C__
-#include "gdkaliasdef.c"
index 7ca259714efe3aa0321791141d5c3248a24fbf30..d33c21f12d66a1ea21233ec4416e5efc82037cf5 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
-
 #include "gdkdirectfb.h"
 #include "gdkprivate-directfb.h"
 
 #include "gdkkeysyms.h"
-#include "gdkalias.h"
+
 
 static struct gdk_key *gdk_keys_by_name = NULL;
 
@@ -2031,6 +2030,3 @@ gdk_keymap_map_virtual_modifiers (GdkKeymap       *keymap,
 
   return TRUE;
 }
-
-#define __GDK_KEYS_DIRECTFB_C__
-#include "gdkaliasdef.c"
index 0e9b873fce082dac9df60aa03f8f9930c7c2c1e7..8883f42d8b97c95907d3a24f4affcba348598beb 100644 (file)
@@ -53,7 +53,6 @@
 #include "gdkinput-directfb.h"
 
 #include "gdkintl.h"
-#include "gdkalias.h"
 
 
 void
@@ -416,6 +415,3 @@ _gdk_windowing_pointer_grab (GdkWindow    *window,
 
   return GDK_GRAB_SUCCESS;
 }
-
-#define __GDK_MAIN_X11_C__
-#include "gdkaliasdef.c"
index c1134cc75c43c429b7aa5d8d10578e1167eeab3d..0542533203f32bda7727ee9018ff79a1e160104d 100644 (file)
@@ -43,7 +43,6 @@
 #include "gdkinternals.h"
 
 #include "gdkpixmap.h"
-#include "gdkalias.h"
 
 
 static void gdk_pixmap_impl_directfb_init       (GdkPixmapImplDirectFB      *pixmap);
@@ -336,6 +335,3 @@ GdkPixmap* gdk_pixmap_lookup_for_display (GdkDisplay *display,GdkNativeWindow an
 {
   return gdk_pixmap_lookup (anid);
 }
-
-#define __GDK_PIXMAP_X11_C__
-#include "gdkaliasdef.c"
index 9ee4cbb72ed045d095624348a6d140a9347f5442..9174c42255d91d1a57ee57a68d88ff0dded85825 100644 (file)
@@ -42,7 +42,6 @@
 
 #include "gdkinternals.h"
 
-#include "gdkalias.h"
 
 static GHashTable *names_to_atoms;
 static GPtrArray *atoms_to_names;
@@ -396,5 +395,3 @@ gdk_property_change (GdkWindow    *window,
       event->property.state = GDK_PROPERTY_NEW_VALUE;
     }
 }
-#define __GDK_PROPERTY_X11_C__
-#include "gdkaliasdef.c"
index 7f65c88462a524706303a6dd750b972ca38911bb..bba03a60b0a90f66a16f02e44576c0cb92df8bad 100644 (file)
@@ -38,7 +38,6 @@
 #include "gdkprivate-directfb.h"
 
 #include "gdkinternals.h"
-#include "gdkalias.h"
 
 
 static GdkColormap *default_colormap = NULL;
@@ -247,6 +246,3 @@ gdk_screen_is_composited (GdkScreen *screen)
    g_return_val_if_fail (GDK_IS_SCREEN (screen), FALSE);
    return FALSE;
 } 
-
-#define __GDK_SCREEN_X11_C__
-#include "gdkaliasdef.c"
index dd3348c24a9894645ae485c7bcab9e3e2014b7bd..7b4306d219bb5b9570e5b0f6da0dcc7775ef01a4 100644 (file)
@@ -40,7 +40,6 @@
 #include "gdkproperty.h"
 #include "gdkselection.h"
 #include "gdkprivate.h"
-#include "gdkalias.h"
 
 
 typedef struct _OwnerInfo OwnerInfo;
@@ -493,6 +492,3 @@ gdk_text_property_to_utf8_list_for_display (GdkDisplay     *display,
       return count;
     }
 }
-
-#define __GDK_SELECTION_X11_C__
-#include "gdkaliasdef.c"
index a33d9d9d1653094c996fa6ba5a87e3940aa9e390..0c265b23f071d254ca1f63a86387ad6729e4475c 100644 (file)
@@ -24,7 +24,6 @@
 #include "gdk.h"
 #include "gdkspawn.h"
 #include "gdkprivate.h"
-#include "gdkalias.h"
 
 
 gboolean
@@ -103,6 +102,3 @@ gdk_spawn_command_line_on_screen (GdkScreen    *screen,
 
   return retval;
 }
-
-#define __GDK_SPAWN_X11_C__
-#include "gdkaliasdef.c"
index 2197f2ffa872d15d7f3548dabc51c8ac08737f44..861cd227cb8f936de6ea25e7d26aff86f790516f 100644 (file)
@@ -35,7 +35,6 @@
 
 #include <gdk/gdktestutils.h>
 #include <gdk/gdkkeysyms.h>
-#include "gdkalias.h"
 
 
 static DFBInputDeviceKeySymbol
@@ -262,6 +261,3 @@ gdk_test_simulate_button (GdkWindow      *window,
 
   return TRUE;
 }
-
-#define __GDK_TEST_UTILS_X11_C__
-#include "gdkaliasdef.c"
index 7ae08312bfcb54b0d23c05272f2317ab8f3c007d..fcbb1c30b90cae891093442aa65359f85e3f2c56 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "gdkscreen.h"
 #include "gdkvisual.h"
-#include "gdkalias.h"
 
 
 struct _GdkVisualClass
@@ -492,6 +491,3 @@ gdk_directfb_visual_create (DFBSurfacePixelFormat  pixelformat)
 
   return (GdkVisualDirectFB *) visual;
 }
-
-#define __GDK_VISUAL_X11_C__
-#include "gdkaliasdef.c"
index 5468a8f323d81df09c7ad1396ad9670e17a2ae5b..26b6aaedeee92678e33aaa55ac1b898e1319f35c 100644 (file)
@@ -41,7 +41,6 @@
 #include "gdkdisplay-directfb.h"
 
 #include "gdkinternals.h"
-#include "gdkalias.h"
 #include "cairo.h"
 #include <assert.h>
 
@@ -2890,7 +2889,3 @@ gdk_window_impl_iface_init (GdkWindowImplIface *iface)
   iface->queue_translation = gdk_directfb_window_queue_translation;
   iface->destroy = gdk_directfb_window_destroy;
 }
-
-#define __GDK_WINDOW_X11_C__
-#include "gdkaliasdef.c"
-
index 89a4e2f8e8d9d26f2dd8101f198df762b971a027..340efb963b1bd97cc50dc84eac40d869db0bce40 100644 (file)
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -36,7 +36,6 @@
 #ifndef HAVE_XCONVERTCASE
 #include "gdkkeysyms.h"
 #endif
-#include "gdkalias.h"
 
 typedef struct _GdkPredicate  GdkPredicate;
 
@@ -809,6 +808,3 @@ gdk_enable_multidevice (void)
 
   _gdk_enable_multidevice = TRUE;
 }
-
-#define __GDK_C__
-#include "gdkaliasdef.c"
index 1653e975275e5815b03f49cebec5d874b92b72f7..aa37ca7fc6cb9cf474e363b193e2d5e8532a0f8b 100644 (file)
@@ -26,7 +26,6 @@
 #include "gdkinternals.h"
 #include "gdkscreen.h"
 #include "gdkintl.h"
-#include "gdkalias.h"
 
 
 static void    gdk_app_launch_context_finalize    (GObject           *object);
@@ -287,6 +286,3 @@ gdk_app_launch_context_new (void)
 {
   return g_object_new (GDK_TYPE_APP_LAUNCH_CONTEXT, NULL);
 }
-
-#define __GDK_APP_LAUNCH_CONTEXT_C__
-#include "gdkaliasdef.c"
index 4031db7b141b63dd9cffc643f686d9f163cdac85..c5ead4ef65ab15942401392a963b9254eeb78f06 100644 (file)
@@ -20,7 +20,7 @@
 #include "gdkcairo.h"
 #include "gdkdrawable.h"
 #include "gdkinternals.h"
-#include "gdkalias.h"
+
 
 /**
  * gdk_cairo_create:
@@ -287,7 +287,3 @@ gdk_cairo_set_source_pixmap (cairo_t   *cr,
   cairo_set_source_surface (cr, surface, pixmap_x, pixmap_y);
   cairo_surface_destroy (surface);
 }
-
-
-#define __GDK_CAIRO_C__
-#include "gdkaliasdef.c"
index 378943628862ffc610e2a3b16090481d56c9e21f..99307db3011e361c4ea8c59d6e8a65b2bd20685c 100644 (file)
@@ -30,7 +30,6 @@
 #include "gdkscreen.h"
 #include "gdkcolor.h"
 #include "gdkinternals.h"
-#include "gdkalias.h"
 
 
 /**
@@ -247,6 +246,3 @@ gdk_colormap_get_system (void)
 {
   return gdk_screen_get_system_colormap (gdk_screen_get_default ());
 }
-
-#define __GDK_COLOR_C__
-#include "gdkaliasdef.c"
index a3677e9f8f1eb1291170c5220d604e91d5a4b4a9..7503f89a1bf38e10cddf28c10fd5e6c71894a532 100644 (file)
@@ -28,7 +28,7 @@
 #include "gdkcursor.h"
 #include "gdkdisplay.h"
 #include "gdkinternals.h"
-#include "gdkalias.h"
+
 
 GType
 gdk_cursor_get_type (void)
@@ -97,6 +97,3 @@ gdk_cursor_new (GdkCursorType cursor_type)
 {
   return gdk_cursor_new_for_display (gdk_display_get_default(), cursor_type);
 }
-
-#define __GDK_CURSOR_C__
-#include "gdkaliasdef.c"
index 6ee68eb310f598c2da6e109e001978e0c8b9d6df..8c035097fd003be8ee7c8391cba55c29bc34fc2d 100644 (file)
@@ -22,7 +22,7 @@
 #include "gdkdeviceprivate.h"
 #include "gdkintl.h"
 #include "gdkinternals.h"
-#include "gdkalias.h"
+
 
 typedef struct _GdkAxisInfo GdkAxisInfo;
 
@@ -1394,6 +1394,3 @@ _gdk_device_translate_axis (GdkDevice *device,
 
   return TRUE;
 }
-
-#define __GDK_DEVICE_C__
-#include "gdkaliasdef.c"
index b93e8a3cd8a03e5eabce94509593b7129038c6ae..c9cf2e23153a3c0c893f888fa01b8612cb3d9655 100644 (file)
@@ -21,7 +21,7 @@
 #include "gdkdevicemanager.h"
 #include "gdkintl.h"
 #include "gdkinternals.h"
-#include "gdkalias.h"
+
 
 /**
  * SECTION:gdkdevicemanager
@@ -320,7 +320,3 @@ gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager)
 
   return GDK_DEVICE_MANAGER_GET_CLASS (device_manager)->get_client_pointer (device_manager);
 }
-
-
-#define __GDK_DEVICE_MANAGER_C__
-#include "gdkaliasdef.c"
index 0b91f88b9779848750754cfefdb7dea213a676a7..437ea9e1b3239f28ae8c94d9e9e347ed85a7d4ca 100644 (file)
@@ -30,7 +30,7 @@
 #include "gdkinternals.h"
 #include "gdkmarshalers.h"
 #include "gdkscreen.h"
-#include "gdkalias.h"
+
 
 enum {
   OPENED,
@@ -1813,6 +1813,3 @@ gdk_display_get_device_manager (GdkDisplay *display)
 
   return display->device_manager;
 }
-
-#define __GDK_DISPLAY_C__
-#include "gdkaliasdef.c"
index c171524e4a1a74de6edb9e87c0c0e4de79c84256..93a632eec385f9294147a38e6bb31756ba21289c 100644 (file)
@@ -35,7 +35,6 @@
 
 #include "gdkintl.h"
 
-#include "gdkalias.h"
 
 struct _GdkDisplayManager
 {
@@ -259,6 +258,3 @@ gdk_display_manager_list_displays (GdkDisplayManager *display_manager)
 {
   return g_slist_copy (_gdk_displays);
 }
-
-#define __GDK_DISPLAY_MANAGER_C__
-#include "gdkaliasdef.c"
index 31aa250a55a7c2a1f548e68d769b285a1e55be23..b080ebebe001f1e96e9ad8d4c33008a77ba97009 100644 (file)
@@ -28,7 +28,7 @@
 #include <gdkdnd.h>
 #include <gdkdrawable.h>
 #include <gdkdisplay.h>
-#include "gdkalias.h"
+
 
 /**
  * SECTION:dnd
@@ -183,6 +183,3 @@ gdk_drag_context_get_source_window (GdkDragContext *context)
 
   return context->source_window;
 }
-
-#define __GDK_DND_C__
-#include "gdkaliasdef.c"
index cf1fc0742b9295e06125f5de0d0c1ea6570150fd..78c8dfeeec3f82972984fd3ad28a353d97f8707e 100644 (file)
@@ -34,7 +34,7 @@
 #include "gdkwindow.h"
 #include "gdkscreen.h"
 #include "gdkpixbuf.h"
-#include "gdkalias.h"
+
 
 static GdkImage*    gdk_drawable_real_get_image (GdkDrawable     *drawable,
                                                 gint             x,
@@ -1730,7 +1730,3 @@ _gdk_drawable_create_cairo_surface (GdkDrawable *drawable,
   return GDK_DRAWABLE_GET_CLASS (drawable)->create_cairo_surface (drawable,
                                                                  width, height);
 }
-
-
-#define __GDK_DRAW_C__
-#include "gdkaliasdef.c"
index bf0c8fc810abfcc4fd4504ef7f413b4f185d5451..b94806f941e513aa8c70b665d809f7d23e61154e 100644 (file)
@@ -1,7 +1,6 @@
 /*** BEGIN file-header ***/
 #define GDK_ENABLE_BROKEN
 #include "gdk.h"
-#include "gdkalias.h"
 
 /*** END file-header ***/
 
@@ -33,6 +32,5 @@ GType
 /*** END value-tail ***/
 
 /*** BEGIN file-tail ***/
-#define __GDK_ENUM_TYPES_C__
-#include "gdkaliasdef.c"
+ /**/
 /*** END file-tail ***/
index 470c9e9fe493a04ae63d51b0b3f596816ad2304b..fb9373aee1a2c678e1a34d56009f14fb3d557908 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "gdk.h"
 #include "gdkinternals.h"
-#include "gdkalias.h"
+
 
 typedef struct _GdkIOClosure GdkIOClosure;
 
@@ -1541,6 +1541,3 @@ gdk_setting_get (const gchar *name,
 {
   return gdk_screen_get_setting (gdk_screen_get_default (), name, value);
 }
-
-#define __GDK_EVENTS_C__
-#include "gdkaliasdef.c"
index 4bf2dc5a7a6baa2b1c8af81182aa5a4f5b9b5e5b..f20ba510e8e99f2fa37cecf3a2efe3ae63a144cc 100644 (file)
@@ -33,7 +33,7 @@
 #include "gdkpixmap.h"
 #include "gdkrgb.h"
 #include "gdkprivate.h"
-#include "gdkalias.h"
+
 
 static void gdk_gc_finalize   (GObject      *object);
 
@@ -1458,7 +1458,3 @@ _gdk_gc_update_context (GdkGC          *gc,
     }
 
 }
-
-
-#define __GDK_GC_C__
-#include "gdkaliasdef.c"
index a805bcc5bf903f4dd4d3dff6fe81fa0dcb9a1d28..e92ad4892ac47178990f16020b77196b5a1f7ab7 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "gdktypes.h"
 #include "gdkprivate.h"
-#include "gdkalias.h"
+
 
 guint               _gdk_debug_flags = 0;
 gint                _gdk_error_code = 0;
index 1ef49c996dff44583bf7c0732765079d94ef0db4..3cc2cb48e996cf550e4e8a67beaa51f2257e0578 100644 (file)
@@ -32,7 +32,6 @@
 #include "gdkimage.h"
 #include "gdkprivate.h"
 #include "gdkinternals.h"      /* For scratch_image code */
-#include "gdkalias.h"
 
 /**
  * gdk_image_set_colormap:
@@ -565,6 +564,3 @@ gdk_image_new (GdkImageType  type,
   return _gdk_image_new_for_depth (gdk_visual_get_screen (visual), type,
                                   visual, width, height, -1);
 }
-
-#define __GDK_IMAGE_C__
-#include "gdkaliasdef.c"
index 6b155bceac02cda38f93fce15fbca907d606fbca..e1f5a087ae32ae3f246345e69d2d4a10aa5d80b7 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "gdkkeysyms.h"
 #include "gdkinternals.h"
-#include "gdkalias.h"
 
 /* Key handling not part of the keymap */
 
@@ -101,6 +100,3 @@ gdk_keyval_from_name (const gchar *keyval_name)
   else
     return GDK_VoidSymbol;
 }
-
-#define __GDK_KEYNAMES_C__
-#include "gdkaliasdef.c"
index 6953b4642683971f3f6448bb49fc7b84fb796ac4..fbaf61619406c08c0918dacb150db6fc11bb1034 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "gdkdisplay.h"
 #include "gdkkeys.h"
-#include "gdkalias.h"
+
 
 enum {
   DIRECTION_CHANGED,
@@ -311,6 +311,3 @@ gdk_keymap_get_default (void)
 {
   return gdk_keymap_get_for_display (gdk_display_get_default ());
 }
-
-#define __GDK_KEYS_C__
-#include "gdkaliasdef.c"
index 4282597daf9f36c156d9e26f7d62adbd1d2e7225..05ab843c203f01e66b0d88a546372fe1c4f3d2cd 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "config.h"
 #include "gdk.h"
-#include "gdkalias.h"
+
 
 /* Thanks to Markus G. Kuhn <mkuhn@acm.org> for the ksysym<->Unicode
  * mapping functions, from the xterm sources.
@@ -1695,6 +1695,3 @@ gdk_unicode_to_keyval (guint32 wc)
    */
   return wc | 0x01000000;
 }
-
-#define __GDK_KEYUNI_C__
-#include "gdkaliasdef.c"
index 8005d0554ff9c5f5e0cedffa12330bef26bbc658..b6bc3b45bfb58302a414bc06f4eaf4451ac04dd4 100644 (file)
@@ -37,7 +37,7 @@
 #include "gdkgc.h"
 #include "gdkcolor.h"
 #include "gdkcursor.h"
-#include "gdkalias.h"
+
 
 /* LIMITATIONS:
  *
@@ -1228,6 +1228,3 @@ gdk_offscreen_window_impl_iface_init (GdkWindowImplIface *iface)
   iface->get_device_state = gdk_offscreen_window_get_device_state;
   iface->destroy = gdk_offscreen_window_destroy;
 }
-
-#define __GDK_OFFSCREEN_WINDOW_C__
-#include "gdkaliasdef.c"
index 2a6b1ead5d8d77bf71a55423120ea8aa274992d4..5d4e9aa2b598e6196540a5efb3569f676052148f 100644 (file)
@@ -29,7 +29,7 @@
 #include "gdkprivate.h"
 #include "gdkscreen.h"
 #include "gdkintl.h"
-#include "gdkalias.h"
+
 
 #define GDK_INFO_KEY "gdk-info"
 
@@ -1478,6 +1478,3 @@ gdk_pango_context_get_for_screen (GdkScreen *screen)
 
   return context;
 }
-
-#define __GDK_PANGO_C__
-#include "gdkaliasdef.c"
index ff85cb7e7afa188e679237273cf5fb1db588ee90..470d450de7c4d84c8a9df5a1b7676b0d76d0c7bd 100644 (file)
@@ -34,7 +34,7 @@
 #include "gdkpixbuf.h"
 #include "gdkpixmap.h"
 #include "gdkinternals.h"
-#include "gdkalias.h"
+
 
 /* Some convenient names
  */
@@ -1413,6 +1413,3 @@ gdk_pixbuf_get_from_image (GdkPixbuf   *dest,
   
   return dest;
 }
-
-#define __GDK_PIXBUF_DRAWABLE_C__
-#include "gdkaliasdef.c"
index d1216b6c4831d4b5da0d878b391db47e0656cf68..bd94aaf4d836014a92abdc2ec3e94bd7acb2c96e 100644 (file)
@@ -26,9 +26,7 @@
 #include "gdkpixbuf.h"
 #include "gdkscreen.h"
 #include "gdkinternals.h"
-#include "gdkalias.h"
 
-\f
 
 /**
  * gdk_pixbuf_render_threshold_alpha:
@@ -253,7 +251,3 @@ gdk_pixbuf_render_pixmap_and_mask_for_colormap (GdkPixbuf   *pixbuf,
        *mask_return = NULL;
     }
 }
-
-#define __GDK_PIXBUF_RENDER_C__
-#include "gdkaliasdef.c"
-
index 2adb33f03b2a854fac25c049debafcdf3bc83ec3..06ae850caac1d31eca37b220b961f659ab54a91e 100644 (file)
@@ -29,7 +29,7 @@
 #include "gdkinternals.h"
 #include "gdkpixbuf.h"
 #include "gdkscreen.h"
-#include "gdkalias.h"
+
 
 static GdkGC *gdk_pixmap_create_gc      (GdkDrawable     *drawable,
                                          GdkGCValues     *values,
@@ -774,6 +774,3 @@ gdk_pixmap_real_get_screen (GdkDrawable *drawable)
 {
     return gdk_drawable_get_screen (GDK_PIXMAP_OBJECT (drawable)->impl);
 }
-
-#define __GDK_PIXMAP_C__
-#include "gdkaliasdef.c"
index 9ad5509ef004b3b803eb17939a8918714d888f34..71a8bbc7f0d049ea05990357a873d720132650c7 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "config.h"
 #include <gdk/gdk.h>
-#include "gdkalias.h"
+
 
 /**
  * gdk_rectangle_union:
@@ -132,7 +132,3 @@ gdk_rectangle_get_type (void)
                                             (GBoxedFreeFunc)g_free);
   return our_type;
 }
-
-
-#define __GDK_RECTANGLE_C__
-#include "gdkaliasdef.c"
index 4c7c858b2030a83a0c4840178dc72f66d900dcec..c82f44e9990c5d785db7b8b00df6c3fe6e4ed78e 100644 (file)
@@ -40,7 +40,6 @@
 
 #include "gdkrgb.h"
 #include "gdkscreen.h"
-#include "gdkalias.h"
 #include <glib/gprintf.h>
 
 typedef struct _GdkRgbInfo     GdkRgbInfo;
@@ -3710,6 +3709,3 @@ gdk_rgb_get_visual (void)
 {
   return gdk_screen_get_rgb_visual (gdk_screen_get_default ());
 }
-
-#define __GDK_RGB_C__
-#include "gdkaliasdef.c"
index 4a6e11b65776c7ddb69dc2943c6b035b9801f809..c403a41dc2eb1db3b8e58b03e9a5cec54116971a 100644 (file)
@@ -27,7 +27,7 @@
 #include "gdkwindow.h"
 #include "gdkscreen.h"
 #include "gdkintl.h"
-#include "gdkalias.h"
+
 
 static void gdk_screen_dispose      (GObject        *object);
 static void gdk_screen_finalize     (GObject        *object);
@@ -540,6 +540,3 @@ gdk_screen_set_property (GObject      *object,
       break;
     }
 }
-
-#define __GDK_SCREEN_C__
-#include "gdkaliasdef.c"
index fd8f7058115672abb15fa3168721243b5662361c..e814e30b8317c4b64a6798b5f054c68314febfcc 100644 (file)
@@ -28,7 +28,7 @@
 #include "gdkproperty.h"
 #include "gdkdisplay.h"
 #include "gdkselection.h"
-#include "gdkalias.h"
+
 
 gboolean
 gdk_selection_owner_set (GdkWindow *owner,
@@ -134,6 +134,3 @@ gdk_utf8_to_compound_text (const gchar *str,
                                                str, encoding, format, 
                                                ctext, length);
 }
-
-#define __GDK_SELECTION_C__
-#include "gdkaliasdef.c"
index ce1bdd7eb306f692294ed4f3fe50f952b150e657..2be52af709394d80bdb322835c9b05d934562f4c 100644 (file)
@@ -24,7 +24,7 @@
 #include "config.h"
 #include "gdkvisual.h"
 #include "gdkscreen.h"
-#include "gdkalias.h"
+
 
 /**
  * gdk_list_visuals:
@@ -248,6 +248,3 @@ gdk_visual_get_blue_pixel_details (GdkVisual *visual,
   if (precision)
     *precision = visual->blue_prec;
 }
-
-#define __GDK_VISUAL_C__
-#include "gdkaliasdef.c"
index 8d45b8709e8f65074fda24d14a5e89a6a39c3927..dff74a16aaf398269f5ba9f232c575dc18dd7b9f 100644 (file)
@@ -45,8 +45,6 @@
 #include "gdkscreen.h"
 #include "gdkwindowimpl.h"
 
-#include "gdkalias.h"
-
 #undef DEBUG_WINDOW_PRINTING
 
 
@@ -11762,7 +11760,3 @@ _gdk_window_get_input_window_for_event (GdkWindow *native_window,
 
   return event_win;
 }
-
-
-#define __GDK_WINDOW_C__
-#include "gdkaliasdef.c"
index 4aef21bbabd833f9a886bffa9f815e7df501380a..48fe438fd8e428ff10c7dd1c5af19057a22b7174 100644 (file)
@@ -28,7 +28,6 @@
 #include "gdkwindowimpl.h"
 #include "gdkinternals.h"
 
-#include "gdkalias.h"
 
 GType
 gdk_window_impl_get_type (void)
@@ -46,7 +45,3 @@ gdk_window_impl_get_type (void)
 
   return gtype;
 }
-
-#define __GDK_WINDOW_IMPL_C__
-#include "gdkaliasdef.c"
-
index a2f4be614f9d22b206a6c7bc29e55dd178665d89..2cfea1057a46a54fe59228b0c3319dfbcc9a47b7 100644 (file)
@@ -51,8 +51,6 @@ gdk-win32-backend :
 all: \
        ..\config.h \
        gdkconfig.h \
-       gdkalias.h \
-       gdkaliasdef.c \
        gdkenumtypes.h \
        gdkenumtypes.c \
        gdkmarshalers.h \
@@ -138,12 +136,6 @@ gdkenumtypes.c: $(gdk_public_h_sources) gdkenumtypes.c.template
 gdkconfig.h : gdkconfig.h.win32
        copy gdkconfig.h.win32 gdkconfig.h
 
-gdkalias.h: gdk.symbols
-       perl makegdkalias.pl < gdk.symbols > gdkalias.h
-
-gdkaliasdef.c: gdk.symbols
-        perl makegdkalias.pl -def < gdk.symbols > gdkaliasdef.c
-
 gdk.def: gdk.symbols
        echo EXPORTS > gdk.def
        cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DGDK_WINDOWING_WIN32 -DALL_FILES \
diff --git a/gdk/makegdkalias.pl b/gdk/makegdkalias.pl
deleted file mode 100755 (executable)
index 1038ead..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-#!/usr/bin/perl -w
-
-exit 0;
-
-my $do_def = 0;
-
-if (($#ARGV >= 0) && ($ARGV[0] eq "-def")) {
-    shift;
-    $do_def = 1;
-}
-
-print <<EOF;
-/* Generated by makegdkalias.pl */
-
-#ifndef DISABLE_VISIBILITY
-
-#include <glib.h>
-
-#ifdef G_HAVE_GNUC_VISIBILITY
-
-EOF
-
-if ($do_def) {
-    print <<EOF
-#undef IN_FILE
-#define IN_FILE defined
-
-#undef IN_HEADER
-#define IN_HEADER(x) 1
-
-EOF
-} 
-else { 
-    print <<EOF
-#define IN_FILE(x) 1
-#define IN_HEADER defined
-
-EOF
-}
-
-my $in_comment = 0;
-my $in_skipped_section = 0;
-
-while (<>) {
-
-  # ignore empty lines
-  next if /^\s*$/;
-
-  # skip comments
-  if ($_ =~ /^\s*\/\*/)
-  {
-      $in_comment = 1;
-  }
-  
-  if ($in_comment)
-  {
-      if ($_ =~  /\*\/\s$/)
-      {
-         $in_comment = 0;
-      }
-      
-      next;
-  }
-
-  # handle ifdefs
-  if ($_ =~ /^\#endif/)
-  {
-      if (!$in_skipped_section)
-      {
-         print $_;
-      }
-
-      $in_skipped_section = 0;
-
-      next;
-  }
-
-  if ($_ =~ /^\#ifdef\s+(INCLUDE_VARIABLES|INCLUDE_INTERNAL_SYMBOLS|ALL_FILES)/)
-  {
-      $in_skipped_section = 1;
-  }
-
-  if ($in_skipped_section)
-  {
-      next;
-  }
-
-  if ($_ =~ /^\#ifn?def/)
-  {
-      print $_;
-      
-      next;
-  }
-
-  if ($_ =~ /^\#if.*(IN_FILE|IN_HEADER)/)
-  {
-      print $_;
-      
-      next;
-  }
-
-  chop;
-  my $str = $_;
-  my @words;
-  my $attributes = "";
-
-  @words = split(/ /, $str);
-  $str = shift(@words);
-  chomp($str);
-  my $alias = "IA__".$str;
-  
-  # Drop any Win32 specific .def file syntax,  but keep attributes
-  foreach $word (@words) {
-      $attributes = "$attributes $word" unless $word eq "PRIVATE";
-  }
-      
-  if (!$do_def) {
-    print <<EOF
-extern __typeof ($str) $alias __attribute((visibility("hidden")))$attributes;
-\#define $str $alias
-
-EOF
-  }
-  else {
-    print <<EOF
-\#undef $str 
-extern __typeof ($str) $str __attribute((alias("$alias"), visibility("default")));
-
-EOF
-  }
-}
-
-print <<EOF;
-
-#endif /* G_HAVE_GNUC_VISIBILITY */
-#endif /* DISABLE_VISIBILITY */
-EOF
-
diff --git a/gdk/pltcheck.sh b/gdk/pltcheck.sh
deleted file mode 100755 (executable)
index ac66999..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-LANG=C
-
-status=0
-
-if ! which readelf 2>/dev/null >/dev/null; then
-       echo "'readelf' not found; skipping test"
-       exit 0
-fi
-
-for so in .libs/lib*.so; do
-       echo Checking $so for local PLT entries
-       readelf -r $so | grep 'JU\?MP_SLOT' | grep -v 'gdk_pixbuf' | grep gdk && status=1
-done
-
-exit $status
index 68972d8cd470e78e91115fab8b8f4fe924e2eeaf..ed9faa7e89172727c6d904996b380a1fa6d94974 100644 (file)
@@ -20,7 +20,7 @@
 #include <gdk/gdktestutils.h>
 #include <gdk/gdkkeysyms.h>
 #include <win32/gdkwin32.h>
-#include "gdkalias.h"
+
 
 void
 gdk_test_render_sync (GdkWindow *window)
index 4a6f3c5add45cb6013bdc87e3f22e9d67b268f88..0d5b10e23112326026eb39de5eb3a807e3f535f6 100644 (file)
@@ -33,7 +33,6 @@
 #include "gdkscreen.h"
 #include "gdkinternals.h"
 #include "gdkintl.h"
-#include "gdkalias.h"
 
 
 static char *
index e412ed2f7e4eccf48643e9a1ef3e06d60e856783..70bb06fbcad74820489033296f0edf9f7a3910a1 100644 (file)
@@ -50,7 +50,7 @@ in this Software without prior written authorization from The Open Group.
 #include <X11/Xlibint.h>
 #include "gdkasync.h"
 #include "gdkx.h"
-#include "gdkalias.h"
+
 
 typedef struct _ChildInfoChildState ChildInfoChildState;
 typedef struct _ChildInfoState ChildInfoState;
@@ -840,6 +840,3 @@ _gdk_x11_roundtrip_async (GdkDisplay           *display,
   UnlockDisplay(dpy);
   SyncHandle();
 }
-
-#define __GDK_ASYNC_C__
-#include "gdkaliasdef.c"
index e71038f713c088d6cc6603894af73551d0f99fd0..0889d32c7fbba7138b222b3c7d80f31f850de84f 100644 (file)
@@ -32,7 +32,7 @@
 #include "gdkx.h"
 #include "gdkprivate-x11.h"
 #include "gdkscreen-x11.h"
-#include "gdkalias.h"
+
 
 typedef struct _GdkColormapPrivateX11  GdkColormapPrivateX11;
 
@@ -1301,6 +1301,3 @@ gdk_colormap_get_screen (GdkColormap *cmap)
 
   return  GDK_COLORMAP_PRIVATE_DATA (cmap)->screen;
 }
-
-#define __GDK_COLOR_X11_C__
-#include "gdkaliasdef.c"
index 5cfbaa52b0c4f00d443e097cf23a9fdf4335a064..6e72373e8b8b393af9774342de61a8f3f378cea4 100644 (file)
@@ -45,7 +45,6 @@
 #include "gdkx.h"
 #include <gdk/gdkpixmap.h>
 #include <gdk-pixbuf/gdk-pixbuf.h>
-#include "gdkalias.h"
 
 static guint theme_serial = 0;
 
@@ -1058,6 +1057,3 @@ gdk_display_get_maximal_cursor_size (GdkDisplay *display,
                    GDK_WINDOW_XWINDOW (window), 
                    128, 128, width, height);
 }
-
-#define __GDK_CURSOR_X11_C__
-#include "gdkaliasdef.c"
index 5fb6f2ee8c80323aebbc65f46b424e760ab4fc59..d144e88547895a258dc593ebd5b612cd4774cbfb 100644 (file)
@@ -27,7 +27,6 @@
 #include "gdkkeysyms.h"
 #include "gdkprivate-x11.h"
 #include "gdkx.h"
-#include "gdkalias.h"
 
 #ifdef HAVE_XKB
 #include <X11/XKBlib.h>
@@ -910,6 +909,3 @@ gdk_device_manager_core_get_client_pointer (GdkDeviceManager *device_manager)
   device_manager_core = (GdkDeviceManagerCore *) device_manager;
   return device_manager_core->core_pointer;
 }
-
-#define __GDK_DEVICE_MANAGER_CORE_C__
-#include "gdkaliasdef.c"
index 61907994f8b4f204a0a93dc8dbf78831fbe6e042..e11cb58a6b31c84bb434f6dabc888ac334a03625 100644 (file)
@@ -25,8 +25,6 @@
 #include "gdkintl.h"
 #include "gdkx.h"
 
-#include "gdkalias.h"
-
 #include <X11/extensions/XInput.h>
 
 
@@ -656,6 +654,3 @@ gdk_device_manager_xi_list_devices (GdkDeviceManager *device_manager,
   else
     return NULL;
 }
-
-#define __GDK_DEVICE_MANAGER_XI_C__
-#include "gdkaliasdef.c"
index 57eb3212b2f1a20d851404606c313bc6e94fca70..0727f3639f10e75ecebe687846c2bce5737ac709 100644 (file)
@@ -28,7 +28,6 @@
 #include "gdkkeysyms.h"
 #include "gdkprivate-x11.h"
 #include "gdkx.h"
-#include "gdkalias.h"
 
 #define HAS_FOCUS(toplevel) ((toplevel)->has_focus || (toplevel)->has_pointer_focus)
 
@@ -1168,6 +1167,3 @@ gdk_device_manager_xi2_select_window_events (GdkEventTranslator *translator,
   _gdk_device_manager_xi2_select_events (device_manager, window, &event_mask);
   g_free (event_mask.mask);
 }
-
-#define __GDK_DEVICE_MANAGER_XI2_C__
-#include "gdkaliasdef.c"
index b77c2ceae8a3ef96c541172b647c9e7a1e9517c9..7195c0118551c967cf7a063f61495d40052f339b 100644 (file)
@@ -42,7 +42,6 @@
 #include "gdkdeviceprivate.h"
 #include "gdkdevicemanager.h"
 #include "xsettings-client.h"
-#include "gdkalias.h"
 
 #include <X11/Xatom.h>
 
@@ -2666,6 +2665,3 @@ gdk_x11_register_standard_event_type (GdkDisplay *display,
 
   display_x11->event_types = g_slist_prepend (display_x11->event_types, event_type);
 }
-
-#define __GDK_DISPLAY_X11_C__
-#include "gdkaliasdef.c"
index 44869001ad8ceac42440ec88ad5c861853ce7e37..fc946cb672afb6a703f7062c91aa3c4fcf389994 100644 (file)
@@ -42,7 +42,6 @@
 #include "gdkinternals.h"
 #include "gdkscreen-x11.h"
 #include "gdkdisplay-x11.h"
-#include "gdkalias.h"
 
 typedef struct _GdkDragContextPrivateX11 GdkDragContextPrivateX11;
 
@@ -4012,6 +4011,3 @@ gdk_drag_drop_succeeded (GdkDragContext *context)
 
   return !private->drop_failed;
 }
-
-#define __GDK_DND_X11_C__
-#include "gdkaliasdef.c"
index c10513b96ec04836893cf60d857c5cef89c0867f..68379bf7d298c1786ee11595c4809c0d5cdd1d4b 100644 (file)
@@ -47,7 +47,6 @@
 #include "gdkscreen-x11.h"
 #include "gdkdisplay-x11.h"
 
-#include "gdkalias.h"
 
 static void gdk_x11_draw_rectangle (GdkDrawable    *drawable,
                                    GdkGC          *gc,
@@ -1477,6 +1476,3 @@ gdk_x11_ref_cairo_surface (GdkDrawable *drawable)
 
   return impl->cairo_surface;
 }
-
-#define __GDK_DRAWABLE_X11_C__
-#include "gdkaliasdef.c"
index 53a15578e3ddfcb38e9388b32a34848b09c50829..d2304888a4d60ff00827fa1b9cf79c09be4a5a12 100644 (file)
@@ -22,7 +22,7 @@
 #include "gdkeventsource.h"
 #include "gdkinternals.h"
 #include "gdkx.h"
-#include "gdkalias.h"
+
 
 static gboolean gdk_event_source_prepare  (GSource     *source,
                                            gint        *timeout);
@@ -427,6 +427,3 @@ gdk_events_pending (void)
 
   return FALSE;
 }
-
-#define __GDK_EVENT_SOURCE_C__
-#include "gdkaliasdef.c"
index 753dfc890a0b6ea6ce7773eaacc19323e30216c1..dadc9fedc53d8489556e872252e9efb2fff5975f 100644 (file)
@@ -20,7 +20,7 @@
 #include "config.h"
 
 #include "gdkeventtranslator.h"
-#include "gdkalias.h"
+
 
 GType
 gdk_event_translator_get_type (void)
@@ -95,6 +95,3 @@ gdk_event_translator_select_window_events (GdkEventTranslator *translator,
   if (iface->select_window_events)
     iface->select_window_events (translator, window, event_mask);
 }
-
-#define __GDK_EVENT_TRANSLATOR_C__
-#include "gdkaliasdef.c"
index 8676d7cc87fd3a5c445bcabe54a2538f46c8d0a9..9d0bb8d1bb9c0a4da2881df168dd268d78bf55de 100644 (file)
@@ -29,7 +29,6 @@
 #include "gdkgc.h"
 #include "gdkprivate-x11.h"
 #include "gdkx.h"
-#include "gdkalias.h"
 
 #include <string.h>
 
@@ -696,6 +695,3 @@ gdk_x11_gc_get_xgc (GdkGC *gc)
 
   return gc_x11->xgc;
 }
-
-#define __GDK_GC_X11_C__
-#include "gdkaliasdef.c"
index a7b14841a2a30a235825c4a4b7ac30a5692e83a2..83a899561ca4b8e64dd4c788d2b528af56b1c360 100644 (file)
@@ -25,7 +25,7 @@
 #include "gdkscreen-x11.h"
 #include "gdkdisplay-x11.h"
 #include "gdkwindow-x11.h"
-#include "gdkalias.h"
+
 
 typedef struct _GdkWindowQueueItem GdkWindowQueueItem;
 typedef struct _GdkWindowParentPos GdkWindowParentPos;
@@ -317,6 +317,3 @@ _gdk_window_process_expose (GdkWindow    *window,
 
   cairo_region_destroy (invalidate_region);
 }
-
-#define __GDK_GEOMETRY_X11_C__
-#include "gdkaliasdef.c"
index 63dc166f028cb4670dc01d64e3bfc9c51d352e18..8852d3bfa6f0ecc032bfb6dfdc5ec52126bf0777 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "gdktypes.h"
 #include "gdkprivate-x11.h"
-#include "gdkalias.h"
+
 
 gboolean          _gdk_use_xshm = TRUE;  /* used as a cmd line arg */
 Display          *gdk_display = NULL;
index a69b6a7d746e48aa28d67c52624ee27196bb159c..9fabd77026fe5c94bfcc7b1ef0010fc2caf2fca8 100644 (file)
@@ -35,7 +35,6 @@
 #include "gdkpixmap.h"
 #include "gdkinternals.h"
 #include "gdkdisplay-x11.h"
-#include "gdkalias.h"
 
 
 /* If this variable is FALSE, it indicates that we should
@@ -103,6 +102,3 @@ gdk_set_locale (void)
   
   return setlocale (LC_ALL, NULL);
 }
-
-#define __GDK_IM_X11_C__
-#include "gdkaliasdef.c"
index 1c217a0d2e196cc660d0a426f45cf37aeb1717d3..f0329fb0a08ffa3b981b78fbdaed05a5d137ef7e 100644 (file)
@@ -54,7 +54,7 @@
 #include "gdkprivate-x11.h"
 #include "gdkdisplay-x11.h"
 #include "gdkscreen-x11.h"
-#include "gdkalias.h"
+
 
 typedef struct _GdkImagePrivateX11     GdkImagePrivateX11;
 
@@ -752,7 +752,3 @@ _gdk_windowing_get_bits_for_depth (GdkDisplay *display,
   g_assert_not_reached ();
   return -1;
 }
-
-
-#define __GDK_IMAGE_X11_C__
-#include "gdkaliasdef.c"
index c98c3f40f4684fe72106c9bde66b0fc40b08743c..ff69cebc1b0e8544084db8bc6609b93deece8e77 100644 (file)
@@ -31,7 +31,7 @@
 #include "gdkscreen-x11.h"
 #include "gdkdisplay-x11.h"
 #include "gdkwindow.h"
-#include "gdkalias.h"
+
 
 /* Addition used for extension_events mask */
 #define GDK_ALL_DEVICES_MASK (1<<30)
@@ -229,6 +229,3 @@ _gdk_input_check_extension_events (GdkDevice *device)
       _gdk_input_select_device_events (input_window->impl_window, device);
     }
 }
-
-#define __GDK_INPUT_C__
-#include "gdkaliasdef.c"
index 0804700035bbbe319c671d9a5c2f4f994332d836..24bb18be03964fe5c5abcc8ac0c6dbaf3498529c 100644 (file)
@@ -40,7 +40,6 @@
 #include "gdkinternals.h"
 #include "gdkdisplay-x11.h"
 #include "gdkkeysyms.h"
-#include "gdkalias.h"
 
 #ifdef HAVE_XKB
 #include <X11/XKBlib.h>
@@ -1845,7 +1844,3 @@ gdk_keymap_map_virtual_modifiers (GdkKeymap       *keymap,
 
   return retval;
 }
-
-
-#define __GDK_KEYS_X11_C__
-#include "gdkaliasdef.c"
index a3a91cc9673723d7b15d4a486734c15661cc6d6b..cb9ff049de422898b4218566f79e0b6755a5f4e9 100644 (file)
@@ -49,7 +49,6 @@
 #include "gdkinternals.h"
 #include "gdkprivate-x11.h"
 #include "gdkintl.h"
-#include "gdkalias.h"
 
 #include <gdk/gdkdeviceprivate.h>
 
@@ -623,6 +622,3 @@ void
 _gdk_windowing_event_data_free (GdkEvent *event)
 {
 }
-
-#define __GDK_MAIN_X11_C__
-#include "gdkaliasdef.c"
index 7e86dbb72f3cec77e53f1e088c99c9c01475604b..5de167976a628a9ca0205fe6054166119feb43c6 100644 (file)
@@ -40,7 +40,7 @@
 #include "gdkdisplay-x11.h"
 
 #include <gdk/gdkinternals.h>
-#include "gdkalias.h"
+
 
 typedef struct
 {
@@ -457,6 +457,3 @@ gdk_pixmap_lookup_for_display (GdkDisplay *display, GdkNativeWindow anid)
   g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL);
   return (GdkPixmap*) gdk_xid_table_lookup_for_display (display, anid);
 }
-
-#define __GDK_PIXMAP_X11_C__
-#include  "gdkaliasdef.c"
index 1cf54f97e9f88bc05828db6a475a844ca5b13870..5e8bbe40b91bced5934f41306ff92c658ea51dfd 100644 (file)
@@ -37,7 +37,7 @@
 #include "gdkdisplay-x11.h"
 #include "gdkscreen-x11.h"
 #include "gdkselection.h"      /* only from predefined atom */
-#include "gdkalias.h"
+
 
 static GPtrArray *virtual_atom_array;
 static GHashTable *virtual_atom_hash;
@@ -757,6 +757,3 @@ gdk_property_delete (GdkWindow *window,
                   gdk_x11_atom_to_xatom_for_display (GDK_WINDOW_DISPLAY (window),
                                                      property));
 }
-
-#define __GDK_PROPERTY_X11_C__
-#include "gdkaliasdef.c"
index 5f9123411734145af2b4432d68f810713746c321..8aac0759ffc901c2bb6fa198856f79c11f9bab84 100644 (file)
@@ -32,7 +32,6 @@
 #include "gdkdisplay.h"
 #include "gdkdisplay-x11.h"
 #include "gdkx.h"
-#include "gdkalias.h"
 
 #include <X11/Xatom.h>
 
@@ -2091,6 +2090,3 @@ gdk_x11_screen_get_window_manager_name (GdkScreen *screen)
 
   return GDK_SCREEN_X11 (screen)->window_manager_name;
 }
-
-#define __GDK_SCREEN_X11_C__
-#include "gdkaliasdef.c"
index f993b5bf45cc157f81a1272fb9d80ce6969fdfce..7a8d91495b4253b4d5e04fb9e8e417bc375ad740 100644 (file)
@@ -35,7 +35,7 @@
 #include "gdkprivate.h"
 #include "gdkprivate-x11.h"
 #include "gdkdisplay-x11.h"
-#include "gdkalias.h"
+
 
 typedef struct _OwnerInfo OwnerInfo;
 
@@ -887,6 +887,3 @@ void gdk_free_compound_text (guchar *ctext)
   if (ctext)
     XFree (ctext);
 }
-
-#define __GDK_SELECTION_X11_C__
-#include "gdkaliasdef.c"
index d28d8838fdfa93d64b92ca91a78fa23545c0f528..bee6aa4bf16f61dc283458979cab017dee0685c0 100644 (file)
@@ -27,8 +27,8 @@
 
 #include <glib.h>
 #include <gdk/gdk.h>
-#include "gdkalias.h"
-  
+
+
 typedef struct {
   char *display;
   GSpawnChildSetupFunc child_setup;
@@ -213,6 +213,3 @@ gdk_spawn_command_line_on_screen (GdkScreen    *screen,
 
   return retval;
 }
-
-#define __GDK_SPAWN_X11_C__
-#include "gdkaliasdef.c"
index 13677b6a4266b83c1413e04c8e49931171a430be..7793a836a1d5ded9f0e3913af1943b12079b6cbe 100644 (file)
@@ -20,7 +20,6 @@
 #include <gdk/gdktestutils.h>
 #include <gdk/gdkkeysyms.h>
 #include <x11/gdkx.h>
-#include "gdkalias.h"
 
 #include <X11/Xlib.h>
 
@@ -242,6 +241,3 @@ gdk_test_simulate_button (GdkWindow      *window,
   success &= 0 == gdk_error_trap_pop();
   return success;
 }
-
-#define __GDK_TEST_UTILS_X11_C__
-#include "gdkaliasdef.c"
index 898543bbd9931e8c314cee45c3f0113fd1da4dff..2183294bdbbb2928f930511b01c3411f11e6e411 100644 (file)
@@ -33,7 +33,7 @@
 #include "gdkprivate-x11.h"
 #include "gdkscreen-x11.h"
 #include "gdkinternals.h"
-#include "gdkalias.h"
+
 
 struct _GdkVisualClass
 {
@@ -672,6 +672,3 @@ gdk_visual_get_screen (GdkVisual *visual)
 
   return  ((GdkVisualPrivate*) visual)->screen;
 }
-
-#define __GDK_VISUAL_X11_C__
-#include "gdkaliasdef.c"
index 96562f7818fe4338952b7ceaed907e83722c5be8..30620077b8cd956107cb761555cc4c6a4668107b 100644 (file)
@@ -51,7 +51,6 @@
 #include "gdkwindow-x11.h"
 #include "gdkdeviceprivate.h"
 #include "gdkeventsource.h"
-#include "gdkalias.h"
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -5622,6 +5621,3 @@ gdk_x11_get_server_time (GdkWindow *window)
 
   return xevent.xproperty.time;
 }
-
-#define __GDK_WINDOW_X11_C__
-#include "gdkaliasdef.c"
index a4a2cd87757ca503d9294d5c92d300bc3520a49a..21d876c1542f68f15c230f25b498e3089f84e07c 100644 (file)
@@ -28,7 +28,6 @@
 #include "gdkx.h"
 #include "gdkprivate-x11.h"
 #include "gdkdisplay-x11.h"
-#include "gdkalias.h"
 #include <stdio.h>
 
 static guint     gdk_xid_hash  (XID *xid);
@@ -132,6 +131,3 @@ gdk_xid_equal (XID *a,
 {
   return (*a == *b);
 }
-
-#define __GDK_XID_C__
-#include "gdkaliasdef.c"