]> Pileus Git - ~andy/gtk/blobdiff - gdk/x11/xsettings-client.h
Make set_cairo_surface_size a vfunc on GdkWindowImpl
[~andy/gtk] / gdk / x11 / xsettings-client.h
index b916eba1e062e83e2f31f8c2121827576d840348..710ed12482d3251d352bc47a29e8bb8410241772 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright © 2001 Red Hat, Inc.
+ * Copyright © 2001, 2007 Red Hat, Inc.
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
@@ -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);
@@ -54,6 +54,13 @@ XSettingsClient *xsettings_client_new             (Display             *display,
                                                   XSettingsNotifyFunc  notify,
                                                   XSettingsWatchFunc   watch,
                                                   void                *cb_data);
+XSettingsClient *xsettings_client_new_with_grab_funcs (Display             *display,
+                                                      int                  screen,
+                                                      XSettingsNotifyFunc  notify,
+                                                      XSettingsWatchFunc   watch,
+                                                      void                *cb_data,
+                                                       XSettingsGrabFunc    grab,
+                                                       XSettingsGrabFunc    ungrab);
 void             xsettings_client_set_grab_func   (XSettingsClient     *client,
                                                   XSettingsGrabFunc    grab);
 void             xsettings_client_set_ungrab_func (XSettingsClient     *client,