diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-04-02 23:33:47 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-04-02 23:33:47 +0000 |
commit | b52b326d5f34b09af70e9f277a43b48c5bf3be2d (patch) | |
tree | 2593b2dffad11ac442a89514a39988d75e53701d /gdk/gdkcolor.h | |
parent | 0aef43bcbcb208d7419711ffd48dd7942d538952 (diff) | |
download | gdk-pixbuf-b52b326d5f34b09af70e9f277a43b48c5bf3be2d.tar.gz |
Add GdkEventSetting event for notification of changes to system settings,
Mon Apr 2 18:18:07 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkevents.h: Add GdkEventSetting event for notification
of changes to system settings, gdk_setting_get() to retrieve
a single system setting.
* gdk/x11/gdkevents-x11.c: Bridge gdk_setting_get() and GdkEventSetting
to the draft XSETTINGS mechanism.
* gdk/x11/xsettings-{common,client}.[ch]: Sample-implementation of
XSETTINGS.
* gtk/gtkmain.c gtk/gtksettings.[ch]: Propagate notification
of GDK settings changes to the GtkSettings object.
* gdk/gdkevents.[ch] gdk/gtk/gtksettings.c: Hook up the
double-click-timeout property to GDK.
* gdk/gdkcolor.[ch] gdk/gdkvisual.h gdk/gdkevent.[ch] gdk/gdkfont.[ch]:
Define GDK boxed types here.
* gdk/Makefile.am gdk/makeenums.pl: Generate source files
gdk/gdkenumtypes.[ch] for enum definitions.
* gtk/gtkcompat.h: Add defines for GTK_TYPE_GDK_*
* gtk/gtk-boxed.defs: Comment out GDK types
* gtk/gtktypeutils.h: Remove GDK types
* gtk/Makefile.am: No longer scan GDK headers for enumerataions
Diffstat (limited to 'gdk/gdkcolor.h')
-rw-r--r-- | gdk/gdkcolor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkcolor.h b/gdk/gdkcolor.h index 8487ca36e..ad820830a 100644 --- a/gdk/gdkcolor.h +++ b/gdk/gdkcolor.h @@ -34,6 +34,7 @@ typedef struct _GdkColormapClass GdkColormapClass; #define GDK_IS_COLORMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_COLORMAP)) #define GDK_COLORMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_COLORMAP, GdkColormapClass)) +#define GDK_TYPE_COLOR (gdk_color_get_type ()) struct _GdkColormap { @@ -96,6 +97,8 @@ guint gdk_color_hash (const GdkColor *colora); gboolean gdk_color_equal (const GdkColor *colora, const GdkColor *colorb); +GType gdk_color_get_type (void); + /* The following functions are deprecated */ #ifndef GDK_DISABLE_DEPRECATED void gdk_colors_store (GdkColormap *colormap, |