summaryrefslogtreecommitdiff
path: root/gdk/x11/xsettings-client.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-04-10 23:16:30 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-04-10 23:16:30 +0000
commit3b95bc271da8416b7a8754e8d95bf0cfc498a4d0 (patch)
tree8c3ce5f9521aefddcb7e192c4692091456011e8f /gdk/x11/xsettings-client.h
parent1b0bbc87730f47bb3199f0b9d4952c4a6a3f91a4 (diff)
downloadgtk+-3b95bc271da8416b7a8754e8d95bf0cfc498a4d0.tar.gz
Change the XSettingsWatchFunc to return a Bool to indicate success. Update
2007-04-10 Matthias Clasen <mclasen@redhat.com> * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc to return a Bool to indicate success. Update callers and implementors. Based on a patch by Owen Taylor. * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't leak a reference to gdkwin. svn path=/trunk/; revision=17592
Diffstat (limited to 'gdk/x11/xsettings-client.h')
-rw-r--r--gdk/x11/xsettings-client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/xsettings-client.h b/gdk/x11/xsettings-client.h
index ba34130107..710ed12482 100644
--- a/gdk/x11/xsettings-client.h
+++ b/gdk/x11/xsettings-client.h
@@ -43,7 +43,7 @@ typedef void (*XSettingsNotifyFunc) (const char *name,
XSettingsAction action,
XSettingsSetting *setting,
void *cb_data);
-typedef void (*XSettingsWatchFunc) (Window window,
+typedef Bool (*XSettingsWatchFunc) (Window window,
Bool is_start,
long mask,
void *cb_data);