Commit f45a3592 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Commit a patch by Behdad to fix typos, omissions and other errors in the

2006-09-10  Matthias Clasen  <mclasen@redhat.com>

        * Commit a patch by Behdad to fix typos, omissions and other
        errors in the symbol aliasing, and add checks for local PLT
        entries.  (#354687, Behdad Esfahbod)
parent 77cdc290
2006-09-10 Matthias Clasen <mclasen@redhat.com>
* Commit a patch by Behdad to fix typos, omissions and other
errors in the symbol aliasing, and add checks for local PLT
entries. (#354687, Behdad Esfahbod)
* gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
the flush timeout. (#354043, Nelson Benitez)
......
......@@ -50,7 +50,7 @@ gdk-pixbuf-aliasdef.c: gdk-pixbuf.symbols
$(PERL) $(srcdir)/makegdkpixbufalias.pl -def < $(srcdir)/gdk-pixbuf.symbols > gdk-pixbuf-aliasdef.c
if OS_LINUX
TESTS = abicheck.sh
TESTS = abicheck.sh pltcheck.sh
endif
lib_LTLIBRARIES = \
......@@ -273,7 +273,6 @@ INCLUDES = \
-DGTK_SYSCONFDIR=\"$(sysconfdir)\" \
-DGTK_VERSION=\"$(GTK_VERSION)\" \
-DGTK_BINARY_VERSION=\"$(GTK_BINARY_VERSION)\" \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGTK_PREFIX=\"$(prefix)\" \
$(INCLUDED_LOADER_DEFINE) \
$(GTK_DEBUG_FLAGS) \
......
......@@ -2,4 +2,4 @@
cpp -DINCLUDE_VARIABLES -P -DALL_FILES ${srcdir:-.}/gdk-pixbuf.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
nm -D -g --defined-only .libs/libgdk_pixbuf-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi
diff -u expected-abi actual-abi && rm -f expected-abi actual-abi
......@@ -2277,7 +2277,3 @@ gdk_pixbuf_get_formats (void)
#define __GDK_PIXBUF_IO_C__
#include "gdk-pixbuf-aliasdef.c"
......@@ -30,6 +30,9 @@
#define GDK_PIXBUF_COMPILATION
#include "gdk-pixbuf.h"
#include "gdk-pixbuf-private.h"
/* Include the marshallers */
#include <glib-object.h>
#include "gdk-pixbuf-marshal.c"
#include "gdk-pixbuf-alias.h"
static void gdk_pixbuf_finalize (GObject *object);
......@@ -753,11 +756,5 @@ gdk_pixbuf_get_property (GObject *object,
}
}
/* Include the marshallers */
#include <glib-object.h>
#include "gdk-pixbuf-marshal.c"
#define __GDK_PIXBUF_C__
#include "gdk-pixbuf-aliasdef.c"
......@@ -17,9 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#include <config.h>
#include "gdk-pixdata.h"
#include "gdk-pixbuf-private.h"
#include "gdk-pixdata.h"
#include "gdk-pixbuf-alias.h"
#include <string.h>
......
#!/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/libgdk_pixbuf*.so; do
echo Checking $so for local PLT entries
readelf -r $so | grep 'JU\?MP_SLOT' | grep 'gdk_pixbuf' && status=1
done
exit $status
......@@ -24,8 +24,7 @@ INCLUDES = \
-I$(top_srcdir) \
-I$(top_builddir)/gdk \
-I$(top_srcdir)/gdk-pixbuf \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
$(GTK_DEBUG_FLAGS) \
$(GDK_DEP_CFLAGS)
......@@ -199,7 +198,7 @@ gdkaliasdef.c: gdk.symbols
$(PERL) $(srcdir)/makegdkalias.pl -def < $(srcdir)/gdk.symbols > gdkaliasdef.c
if OS_LINUX
TESTS = abicheck.sh
TESTS = pltcheck.sh abicheck.sh
endif
......
......@@ -2,4 +2,4 @@
cpp -DINCLUDE_VARIABLES -P -DALL_FILES -DGDK_ENABLE_BROKEN -DGDK_WINDOWING_X11 ${srcdir:-.}/gdk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' | sort | uniq > expected-abi
nm -D -g --defined-only .libs/libgdk-x11-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi
diff -u expected-abi actual-abi && rm -f expected-abi actual-abi
......@@ -137,15 +137,12 @@ gdk_threads_set_lock_functions
#endif
#if IN_HEADER(__GDK_H__)
#if IN_FILE(__GDK_INPUT_C__)
#if IN_FILE(__GDK_EVENTS_C__)
#ifndef GDK_DISABLE_DEPRECATED
gdk_input_add
gdk_input_remove
gdk_input_add_full
#endif
#ifdef GTK_COMPILATION
gdk_input_add_full
#endif
#endif
#endif
......@@ -642,9 +639,6 @@ gdk_window_clear_area
gdk_window_clear_area_e
gdk_window_constrain_size
gdk_window_destroy
#ifndef GDK_DISABLE_DEPRECATED
gdk_window_destroy_notify
#endif
gdk_window_end_paint
gdk_window_foreign_new
gdk_window_freeze_updates
......@@ -1092,6 +1086,12 @@ gdk_synthesize_window_state
#endif
#endif
#if IN_HEADER(__GDK_PRIVATE_H__)
#if IN_FILE(__GDK_WINDOW_X11_C__)
gdk_window_destroy_notify
#endif
#endif
#ifdef GDK_WINDOWING_WIN32
#if IN_HEADER(__GDK_WIN32_H__)
#if IN_FILE(__GDK_WIN32ID_C__)
......
......@@ -30,6 +30,7 @@
#include "gdktypes.h"
#include "gdkprivate.h"
#include "gdkalias.h"
guint _gdk_debug_flags = 0;
gint _gdk_error_code = 0;
......
......@@ -28,9 +28,8 @@
#include "gdkrgb.h"
#include "gdkprivate.h"
#include "gdkscreen.h"
#include "gdkalias.h"
#include "gdkintl.h"
#include "gdkalias.h"
#define GDK_INFO_KEY "gdk-info"
......
#!/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
......@@ -9,7 +9,6 @@ INCLUDES = \
-I$(top_srcdir)/gdk \
-I$(top_builddir)/gdk \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
$(GTK_DEBUG_FLAGS) \
$(GDK_DEP_CFLAGS)
......
......@@ -29,6 +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;
......
......@@ -33,7 +33,6 @@ INCLUDES = \
-I$(top_srcdir)/gdk-pixbuf -I../gdk-pixbuf \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED \
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED \
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
$(GTK_DEBUG_FLAGS) \
......@@ -89,8 +88,15 @@ gtkalias.h: gtk.symbols
gtkaliasdef.c: gtk.symbols
$(PERL) $(srcdir)/makegtkalias.pl -def < $(srcdir)/gtk.symbols > gtkaliasdef.c
check-aliases:
@$(TESTS_ENVIRONMENT) $(srcdir)/aliasfilescheck.sh
.PHONY: check-aliases
TESTS_ENVIRONMENT = gtk_all_c_sources="$(gtk_all_c_sources)"
TESTS = aliasfilescheck.sh
if OS_LINUX
TESTS = abicheck.sh
TESTS += abicheck.sh pltcheck.sh
endif
# libtool stuff: set version and export symbols for resolving
......@@ -319,7 +325,7 @@ gtk_unix_print_public_h_sources = \
# Installed header files without compatibility guarantees
# that are not include in gtk/gtk.h
# that are not included in gtk/gtk.h
gtk_semi_private_h_sources = \
gtktextlayout.h \
gtkfilesystem.h
......@@ -336,7 +342,11 @@ gtk_private_h_sources = \
gtkfilechooserutils.h \
gtkfilesystemmodel.h \
gtkfilesystemunix.h \
gtkhsv.h \
gtkiconcache.h \
gtkintl.h \
gtkkeyhash.h \
gtkmnemonichash.h \
gtkpathbar.h \
gtkplugprivate.h \
gtkprintoperation-private.h\
......@@ -348,6 +358,7 @@ gtk_private_h_sources = \
gtksequence.h \
gtksocketprivate.h \
gtktextbtree.h \
gtktextbufferserialize.h\
gtktextchildprivate.h \
gtktextiterprivate.h \
gtktextmarkprivate.h \
......@@ -362,7 +373,7 @@ gtk_private_h_sources = \
gtkwindow-decorate.h
# GTK+ C sources to build the library from
gtk_c_sources = \
gtk_base_c_sources = \
fnmatch.c \
gtkaboutdialog.c \
gtkaccelgroup.c \
......@@ -440,7 +451,6 @@ gtk_c_sources = \
gtkhscrollbar.c \
gtkhseparator.c \
gtkhsv.c \
gtkhsv.h \
gtkiconcache.c \
gtkiconfactory.c \
gtkicontheme.c \
......@@ -452,12 +462,10 @@ gtk_c_sources = \
gtkimmodule.c \
gtkimmulticontext.c \
gtkinputdialog.c \
gtkintl.h \
gtkinvisible.c \
gtkitem.c \
gtkitemfactory.c \
gtkkeyhash.c \
gtkkeyhash.h \
gtklabel.c \
gtklayout.c \
gtklinkbutton.c \
......@@ -475,7 +483,6 @@ gtk_c_sources = \
gtkmessagedialog.c \
gtkmisc.c \
gtkmnemonichash.c \
gtkmnemonichash.h \
gtkmodules.c \
gtknotebook.c \
gtkobject.c \
......@@ -535,14 +542,11 @@ gtk_c_sources = \
gtktextbuffer.c \
gtktextbufferrichtext.c \
gtktextbufferserialize.c\
gtktextbufferserialize.h\
gtktextchild.c \
gtktextdisplay.c \
gtktextiter.c \
gtktextiterprivate.h \
gtktextlayout.c \
gtktextmark.c \
gtktextmarkprivate.h \
gtktextsegment.c \
gtktexttag.c \
gtktexttagtable.c \
......@@ -584,19 +588,11 @@ gtk_c_sources = \
gtkwidget.c \
gtkwindow-decorate.c \
gtkwindow.c \
xembed.h \
$(gtk_clipboard_dnd_c_sources)
gtk_c_sources = $(gtk_base_c_sources)
gtk_all_c_sources = $(gtk_base_c_sources)
if OS_UNIX
gtk_private_h_sources += \
gtkfilesystemunix.h \
gtkprintbackend.h \
gtkprinter-private.h \
gtkprinteroption.h \
gtkprinteroptionset.h \
gtkprinteroptionwidget.h
gtk_c_sources += \
gtk_os_unix_c_sources = \
gtkfilesystemunix.c \
gtkpagesetupunixdialog.c \
gtkprinter.c \
......@@ -607,30 +603,51 @@ gtk_c_sources += \
gtkprintoperation-unix.c \
gtkprintunixdialog.c \
gtkprintbackend.c
gtk_all_c_sources += $(gtk_os_unix_c_sources)
if OS_UNIX
gtk_private_h_sources += \
gtkfilesystemunix.h \
gtkprintbackend.h \
gtkprinter-private.h \
gtkprinteroption.h \
gtkprinteroptionset.h \
gtkprinteroptionwidget.h
gtk_c_sources += $(gtk_os_unix_c_sources)
endif
if OS_WIN32
gtk_private_h_sources += gtkfilesystemwin32.h gtkprint-win32.h
gtk_c_sources += \
gtk_os_win32_c_sources = \
gtkfilesystemwin32.c \
gtkprint-win32.c \
gtkprintoperation-win32.c
gtk_all_c_sources += $(gtk_os_win32_c_sources)
if OS_WIN32
gtk_private_h_sources += gtkfilesystemwin32.h gtkprint-win32.h
gtk_c_sources += $(gtk_os_win32_c_sources)
endif
if USE_X11
gtk_private_h_sources += gtkxembed.h gtktrayicon.h
gtk_c_sources += \
gtk_use_x11_c_sources = \
gtkplug-x11.c \
gtksocket-x11.c \
gtkxembed.c \
gtktrayicon-x11.c
gtk_use_win32_c_sources = \
gtkplug-win32.c \
gtksocket-win32.c \
gtkwin32embed.c \
gtkwin32embedwidget.c
gtk_use_stuc_c_sources = \
gtkplug-stub.c \
gtksocket-stub.c
gtk_all_c_sources += $(gtk_use_x11_c_sources) $(gtk_use_win32_c_sources) $(gtk_use_stuc_c_sources)
if USE_X11
gtk_private_h_sources += gtkxembed.h gtktrayicon.h xembed.h
gtk_c_sources += $(gtk_use_x11_c_sources)
else
if USE_WIN32
gtk_private_h_sources += gtkwin32embed.h gtkwin32embedwidget.h
gtk_c_sources += gtkplug-win32.c gtksocket-win32.c gtkwin32embed.c gtkwin32embedwidget.c
gtk_c_sources += $(gtk_use_win32_c_sources)
else
gtk_c_sources += gtkplug-stub.c gtksocket-stub.c
gtk_c_sources += $(gtk_use_stub_c_sources)
endif
endif
......@@ -653,7 +670,7 @@ gtk_built_public_sources = \
gtkmarshal.h \
gtktypebuiltins.h
# built sources that don't get installed
# built headers that don't get installed
gtk_built_private_headers = \
gtkalias.h \
gtkmarshalers.h \
......@@ -663,7 +680,6 @@ gtk_built_sources = \
gtkaliasdef.c \
gtktypebuiltins.c \
gtkmarshalers.c \
gtkmarshalers.h \
gtkmarshal.c \
${gtk_built_private_headers} \
${gtk_built_public_sources}
......@@ -717,7 +733,9 @@ stamp-gtkmarshalers.h: @REBUILD@ gtkmarshalers.list
&& rm -f xgen-gmlh \
&& echo timestamp > $(@F)
gtkmarshalers.c: @REBUILD@ gtkmarshalers.list
(echo "#include \"gtkalias.h\""; $(GLIB_GENMARSHAL) --prefix=_gtk_marshal $(srcdir)/gtkmarshalers.list --body) >> xgen-gmlc \
(echo "#include \"gtkmarshalers.h\""; \
echo "#include \"gtkalias.h\""; \
$(GLIB_GENMARSHAL) --prefix=_gtk_marshal $(srcdir)/gtkmarshalers.list --body) >> xgen-gmlc \
&& cp xgen-gmlc gtkmarshalers.c \
&& rm -f xgen-gmlc
......@@ -731,7 +749,11 @@ stamp-gtkmarshal.h: @REBUILD@ gtkmarshal.list
&& rm -f xgen-gmh \
&& echo timestamp > $(@F)
gtkmarshal.c: @REBUILD@ gtkmarshal.list
(echo "#include \"gtkalias.h\""; $(GLIB_GENMARSHAL) --prefix=gtk_marshal $(srcdir)/gtkmarshal.list --body) >> xgen-gmc \
(echo "#include \"gtkmarshal.h\""; \
echo "#include \"gtkalias.h\""; \
$(GLIB_GENMARSHAL) --prefix=gtk_marshal $(srcdir)/gtkmarshal.list --body; \
echo "#define __gtk_marshal_MARSHAL_C__"; \
echo "#include \"gtkaliasdef.c\"") >> xgen-gmc \
&& cp xgen-gmc gtkmarshal.c \
&& rm -f xgen-gmc
......
......@@ -2,4 +2,4 @@
cpp -DINCLUDE_VARIABLES -P -DG_OS_UNIX -DGTK_WINDOWING_X11 -DALL_FILES ${srcdir:-.}/gtk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' | sort > expected-abi
nm -D -g --defined-only .libs/libgtk-x11-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi
diff -u expected-abi actual-abi && rm -f expected-abi actual-abi
#! /bin/sh
if test "x$gtk_all_c_sources" = x; then
echo gtk_all_c_sources variable not defined
exit 1
fi
grep 'IN_FILE' gtk.symbols | sed 's/.*(//;s/).*//' | grep __ | sort -u > expected-files
grep '^ *# *define __' $gtk_all_c_sources | sed 's/.*define //;s/ *$//' | sort > actual-files
diff expected-files actual-files && rm -f expected-files actual-files
......@@ -596,8 +596,8 @@ gtk_check_button_new_with_mnemonic
#endif
#endif
#if IN_HEADER(__GTK_MENU_CHECK_ITEM_H__)
#if IN_FILE(__GTK_MENU_CHECK_ITEM_C__)
#if IN_HEADER(__GTK_CHECK_MENU_ITEM_H__)
#if IN_FILE(__GTK_CHECK_MENU_ITEM_C__)
gtk_check_menu_item_get_active
gtk_check_menu_item_get_draw_as_radio
gtk_check_menu_item_get_inconsistent
......@@ -884,8 +884,8 @@ gtk_container_unset_focus_chain
#endif
#endif
#if IN_HEADER(__C_TREE_H__)
#if IN_FILE(__G_TREE_C__)
#if IN_HEADER(__GTK_CTREE_H__)
#if IN_FILE(__GTK_CTREE_C__)
#ifndef GTK_DISABLE_DEPRECATED
gtk_ctree_collapse
gtk_ctree_collapse_recursive
......@@ -1477,7 +1477,6 @@ gtk_file_system_unix_new
#ifdef G_OS_WIN32
gtk_file_system_win32_get_type G_GNUC_CONST
gtk_file_system_win32_new
_gtk_file_system_win32_path_compare
#endif
#endif
#endif
......@@ -1537,8 +1536,8 @@ gtk_font_button_set_use_size
#endif
#endif
#if IN_HEADER(__GTK_FONSEL_H__)
#if IN_FILE(__GTK_FONSEL_C__)
#if IN_HEADER(__GTK_FONTSEL_H__)
#if IN_FILE(__GTK_FONTSEL_C__)
gtk_font_selection_dialog_get_font_name
gtk_font_selection_dialog_get_preview_text
gtk_font_selection_dialog_get_type G_GNUC_CONST
......@@ -1939,7 +1938,7 @@ gtk_item_toggle
#endif
#endif
#if IN_HEADER(__GTK_ITEM__FACTORY_H__)
#if IN_HEADER(__GTK_ITEM_FACTORY_H__)
#if IN_FILE(__GTK_ITEM_FACTORY_C__)
#ifndef GTK_DISABLE_DEPRECATED
gtk_item_factories_path_delete
......@@ -2189,6 +2188,7 @@ gtk_input_dialog_new
#if IN_HEADER(__gtk_marshal_MARSHAL_H__)
#if IN_FILE(__gtk_marshal_MARSHAL_C__)
#ifndef GTK_DISABLE_DEPRECATED
gtk_marshal_BOOLEAN__POINTER
gtk_marshal_BOOLEAN__POINTER_INT_INT
gtk_marshal_BOOLEAN__POINTER_INT_INT_UINT
......@@ -2217,6 +2217,7 @@ gtk_marshal_VOID__UINT_POINTER_UINT_UINT_ENUM
gtk_marshal_VOID__UINT_STRING
#endif
#endif
#endif
#if IN_HEADER(__GTK_MENU_BAR_H__)
#if IN_FILE(__GTK_MENU_BAR_C__)
......@@ -4371,19 +4372,21 @@ gtk_vbox_new
#endif
#endif
#if IN_HEADER(__GTK_VBUTTONBOX_H__)
#if IN_FILE(__GTK_VBUTTONBOX_C__)
#if IN_HEADER(__GTK_VBBOX_H__)
#if IN_FILE(__GTK_VBBOX_C__)
#ifndef GTK_DISABLE_DEPRECATED
gtk_vbutton_box_get_layout_default
gtk_vbutton_box_get_spacing_default
gtk_vbutton_box_get_type G_GNUC_CONST
gtk_vbutton_box_new
gtk_vbutton_box_set_layout_default
gtk_vbutton_box_set_spacing_default
#endif
gtk_vbutton_box_get_type G_GNUC_CONST
gtk_vbutton_box_new
#endif
#endif
#if IN_HEADER(__GTK_VIEPORT_H__)
#if IN_FILE(__GTK_VIEPORT_C__)
#if IN_HEADER(__GTK_VIEWPORT_H__)
#if IN_FILE(__GTK_VIEWPORT_C__)
gtk_viewport_get_hadjustment
gtk_viewport_get_shadow_type
gtk_viewport_get_type G_GNUC_CONST
......@@ -4687,6 +4690,14 @@ gtk_window_unstick
#endif
#endif
#if IN_HEADER(__GTK_WIN32_EMBED_WIDGET_H__)
#if IN_FILE(__GTK_WIN32_EMBED_WIDGET_C__)
#ifdef G_OS_WIN32
gtk_win32_embed_widget_get_type G_GNUC_CONST
#endif
#endif
#endif
#ifdef INCLUDE_VARIABLES
gtk_binary_age
gtk_interface_age
......
......@@ -49,7 +49,6 @@
#undef GTK_DISABLE_DEPRECATED
#include "gtkcalendar.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkdnd.h"
#include "gtkintl.h"
......
......@@ -30,10 +30,9 @@
#include "gtkmain.h"
#include "gtkmarshalers.h"
#include "gtkintl.h"
#include "gtkalias.h"
#include "gtktextbuffer.h"
#include "gtkquartz.h"
#include "gtkalias.h"
enum {
OWNER_CHANGE,
......
......@@ -43,9 +43,8 @@
#include "gtkstock.h"
#include "gtkwindow.h"
#include "gtkintl.h"
#include "gtkalias.h"
#include "gtkquartz.h"
#include "gtkalias.h"
#include "gdk/quartz/gdkquartz.h"
typedef struct _GtkDragSourceSite GtkDragSourceSite;
......
......@@ -43,6 +43,7 @@
#include "gtkstock.h"
#include "gtkwindow.h"
#include "gtkintl.h"
#include "gtkdndcursors.h"
#include "gtkalias.h"
static GSList *source_widgets = NULL;
......@@ -300,8 +301,6 @@ static void set_icon_stock_pixbuf (GdkDragContext *context,
* Cursor and Icon data *
************************/
#include "gtkdndcursors.h"
static struct {
GdkDragAction action;
const gchar *name;
......
......@@ -32,8 +32,8 @@
#include "gtkintl.h"
#include "gtkprivate.h"
#include <gdk/gdkkeysyms.h>
#include "gtkalias.h"
#include "gtkdnd.h"
#include "gtkalias.h"
#define GTK_EXPANDER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GTK_TYPE_EXPANDER, GtkExpanderPrivate))
......
......@@ -8670,6 +8670,3 @@ shortcuts_model_filter_new (GtkFileChooserDefault *impl,
return GTK_TREE_MODEL (model);
}
#define __GTK_FILE_CHOOSER_DEFAULT_C__
#include "gtkaliasdef.c"
......@@ -219,6 +219,3 @@ _gtk_file_chooser_embed_get_resizable_hints (GtkFileChooserEmbed *chooser_embed,
GTK_FILE_CHOOSER_EMBED_GET_IFACE (chooser_embed)->get_resizable_hints (chooser_embed, resize_horizontally, resize_vertically);
}
#define __GTK_FILE_CHOOSER_EMBED_C__
#include "gtkaliasdef.c"
......@@ -1075,6 +1075,3 @@ _gtk_file_chooser_entry_get_is_folder (GtkFileChooserEntry *chooser_entry,
return retval;
}
#define __GTK_FILE_CHOOSER_ENTRY_C__
#include "gtkaliasdef.c"
......@@ -34,6 +34,7 @@
#include <string.h>
#include <glib/gi18n-lib.h>
#include "gtkfilechoosersettings.h"
#include "gtkalias.h"
/* Increment this every time you change the configuration format */
#define CONFIG_VERSION 0
......
......@@ -360,6 +360,3 @@ delegate_confirm_overwrite (GtkFileChooser *chooser,
g_signal_emit_by_name (data, "confirm-overwrite", &conf);
return conf;
}
#define __GTK_FILE_CHOOSER_UTILS_C__
#include "gtkaliasdef.c"
......@@ -78,7 +78,6 @@
#undef GTK_DISABLE_DEPRECATED
#include "gtkoptionmenu.h"
#define GTK_DISABLE_DEPRECATED
#define WANT_HPANED 1
#include "gtkhpaned.h"
......
......@@ -24,8 +24,8 @@
#include "gtkicontheme.h"
#include "gtkmodules.h"
#include "gtkintl.h"
#include "gtkalias.h"
#include "gtkstock.h"
#include "gtkalias.h"
#include <string.h>
......
......@@ -2021,6 +2021,3 @@ root_files_removed_callback (GtkFileFolder *folder,
{
do_files_removed (model, NULL, paths);
}
#define __GTK_FILE_SYSTEM_MODEL_C__
#include "gtkaliasdef.c"
......@@ -21,6 +21,8 @@
#include "gtkdebug.h"
#include "gtkiconcache.h"
#include "gtkalias.h"
#include <glib/gstdio.h>
#include <gdk-pixbuf/gdk-pixdata.h>
......
......@@ -52,7 +52,6 @@
#undef GTK_DISABLE_DEPRECATED
#include "gtkoptionmenu.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkintl.h"
#include "gtkalias.h"
......
......@@ -32,7 +32,6 @@
#undef GTK_DISABLE_DEPRECATED
#include "gtkitemfactory.h"
#include "gtkoptionmenu.h"
#define GTK_DISABLE_DEPRECATED
#include "gtkmenubar.h"
#include "gtkmenu.h"
#include "gtkmenuitem.h"
......@@ -54,7 +53,7 @@
#endif
#include <stdio.h>
#include "gtkalias.h"
#include "gtkalias.h"
/* --- defines --- */
#define ITEM_FACTORY_STRING ((gchar*) item_factory_string)
......
......@@ -20,6 +20,7 @@
*/
#include "gtkmnemonichash.h"
#include "gtkalias.h"
struct _GtkMnemnonicHash
{
......
......@@ -27,6 +27,7 @@
#include "gtkdebug.h"
#include "gtkprivate.h" /* GTK_LIBDIR */
#include "gtkintl.h"
#include "gtkalias.h"
#include <gmodule.h>
#include <pango/pango-utils.h> /* For pango_split_file_list */
......
......@@ -37,8 +37,8 @@
#include "gtkmarshalers.h"
#include "gtkbindings.h"
#include "gtkprivate.h"
#include "gtkalias.h"
#include "gtkdnd.h"
#include "gtkalias.h"
#define SCROLL_DELAY_FACTOR 5
#define SCROLL_THRESHOLD 12
......
......@@ -33,7 +33,6 @@
#undef GTK_DISABLE_DEPRECATED
#include "gtkoptionmenu.h"
#define GTK_DISABLE_DEPRECATED