mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
89fd6ad3de
Sun Nov 17 13:45:08 2002 Manish Singh <yosh@gimp.org> * gdk/Makefile.am: add -DGDK_DISABLE_DEPRECATED * gdk/gdk.c (gdk_exit): remove obsolete comment * gdk/gdk.h: declare gdk_input_add_full if GTK_COMPILATION for gtk_input_add_full * gdk/gdkcolor.c (gdk_color_white, gdk_color_black): use gdk_colormap_alloc_color instead of gdk_color_alloc * gdk/gdkcolor.h: declare gdk_colormap_change if GDK_COMPILATION for gdk_colors_store. Also, gdk_colors_{alloc,free} for gdk_rgb_try_colormap * gdk/gdkdrawable.h: declare gdk_draw_string if GTK_COMPILATION for gtk_default_draw_string. Also, gdk_draw_text and gdk_draw_text_wc if GDK_COMPILATION for the respective gdk_window_ and gdk_pixmap_ functions. * gdk/gdkfont.c: #undef GDK_DISABLE_DEPRECATED, completely compat code here * gdk/gdkfont.h: allow the GdkFont structure and a few gdk_font_ functions for compat code in GDK_COMPILATION and GTK_COMPILATION. * gdk/gdkrgb.c (gdk_rgb_cmap_fail, gdk_rgb_try_colormap): use gdk_colormap_free_colors instead of gdk_colors_free. * gdk/gdkrgb.c (gdk_draw_rgb_image_core): no need to set fg/bg for own_gc, unused. * gdk/gdkwindow.h: declare gdk_window_get_deskrelative_origin if GTK_COMPILATION for gtk_handle_box_button_changed. * gdk/x11/Makefile.am: add -DGDK_DISABLE_DEPRECATED, renmae -DINSIDE_GDK_X11 to -DGDK_COMPILATION * gdk/x11/gdkcolor-x11.c: remove duplicate doc string for gdk_colormap_alloc_colors. * gdk/x11/gdkfont-x11.c: #undef GDK_DISABLE_DEPRECATED, completely compat code here * gdk/x11/gdkx.h: use GDK_COMPILATION instead of INSIDE_GDK_X11, allow a few gdk_x11_font_ functions if GDK_COMPILATION for compat code * gtk/Makefile.am: add -DGDK_DISABLE_DEPRECATED * gtk/gtkclist.c * gtk/gtkctree.c * gtk/gtkpixmap.c * gtk/gtkpreview.c * gtk/gtktext.c: #undef GDK_DISABLE_DEPRECATED, deprecated widget * gtk/gtkhandlebox.c (gtk_handle_box_motion): use gdk_window_set_geometry_hints instead of gdk_window_set_hints. * gtk/gtkmain.c (gtk_exit): call exit directly * gtktipsquery.c (gtk_tips_query_real_start_query) * gtk/gtktreeitem.c (gtk_tree_item_add_pixmaps): remove some deprecated GDK usage.
90 lines
1.9 KiB
Makefile
90 lines
1.9 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
libgdkincludedir = $(includedir)/gtk-2.0/gdk
|
|
|
|
INCLUDES = @STRIP_BEGIN@ \
|
|
-DG_LOG_DOMAIN=\"Gdk\" \
|
|
-DGDK_COMPILATION \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/gdk \
|
|
-I$(top_builddir)/gdk \
|
|
-DG_DISABLE_DEPRECATED \
|
|
-DGDK_PIXBUF_DISABLE_DEPRECATED \
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
@GTK_DEBUG_FLAGS@ \
|
|
@GDK_DEP_CFLAGS@ \
|
|
@STRIP_END@
|
|
|
|
LDADDS = @STRIP_BEGIN@ \
|
|
@GDK_DEP_LIBS@ \
|
|
@STRIP_END@
|
|
|
|
noinst_LTLIBRARIES = libgdk-x11.la
|
|
|
|
if XINPUT_XFREE
|
|
xinput_sources = \
|
|
gdkinput-x11.c \
|
|
gdkinput-xfree.c
|
|
else
|
|
xinput_sources = \
|
|
gdkinput-none.c
|
|
endif
|
|
|
|
libgdk_x11_la_SOURCES = \
|
|
MwmUtil.h \
|
|
gdkcolor-x11.c \
|
|
gdkcursor-x11.c \
|
|
gdkdisplay-x11.c \
|
|
gdkdisplay-x11.h \
|
|
gdkdnd-x11.c \
|
|
gdkdrawable-x11.c \
|
|
gdkdrawable-x11.h \
|
|
gdkevents-x11.c \
|
|
gdkfont-x11.c \
|
|
gdkgc-x11.c \
|
|
gdkgeometry-x11.c \
|
|
gdkglobals-x11.c \
|
|
gdkim-x11.c \
|
|
gdkimage-x11.c \
|
|
gdkinput.c \
|
|
gdkkeys-x11.c \
|
|
gdkmain-x11.c \
|
|
gdkpango-x11.c \
|
|
gdkpixmap-x11.c \
|
|
gdkpixmap-x11.h \
|
|
gdkproperty-x11.c \
|
|
gdkscreen-x11.c \
|
|
gdkscreen-x11.h \
|
|
gdkselection-x11.c \
|
|
gdkvisual-x11.c \
|
|
gdkwindow-x11.c \
|
|
gdkwindow-x11.h \
|
|
gdkxid.c \
|
|
gdkx.h \
|
|
gdkprivate-x11.h \
|
|
gdkinputprivate.h \
|
|
xsettings-client.h \
|
|
xsettings-client.c \
|
|
xsettings-common.h \
|
|
xsettings-common.c \
|
|
$(xinput_sources)
|
|
|
|
libgdkinclude_HEADERS = \
|
|
gdkx.h
|
|
|
|
# We need to include all these C files here since the conditionals
|
|
# don't seem to be correctly expanded for the dist files.
|
|
EXTRA_DIST = \
|
|
gdkinput-x11.c \
|
|
gdkinput-xfree.c \
|
|
gdkinput-none.c
|
|
|
|
###########################################
|
|
# Hack to get gdkenumtypes.h built first
|
|
###########################################
|
|
|
|
$(libgdk_x11_la_OBJECTS): $(top_srcdir)/gdk/gdkenumtypes.h
|
|
|
|
$(top_srcdir)/gdk/gdkenumtypes.h:
|
|
@cd $(top_builddir)/gdk && make $(AM_MAKEFLAGS) gdkenumtypes.h
|