diff options
author | Havoc Pennington <hp@redhat.com> | 2000-01-27 20:59:10 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-01-27 20:59:10 +0000 |
commit | c1b85a784d76f912be2f6233a85d6fb8ba5513f0 (patch) | |
tree | ba66c1cc9261bbe301d4b05b5bb8630a84cfbdca /gconf/gconf-client.h | |
parent | e095e7d13a867e150e80a81cd6ce79577d06e31c (diff) | |
download | gconf-c1b85a784d76f912be2f6233a85d6fb8ba5513f0.tar.gz |
New function so gnome-libs can install a Gnomized error dialog
2000-01-28 Havoc Pennington <hp@redhat.com>
* wrappers/gtk/gconf-client.c
(gconf_client_set_global_default_error_handler): New function so
gnome-libs can install a Gnomized error dialog
Diffstat (limited to 'gconf/gconf-client.h')
-rw-r--r-- | gconf/gconf-client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gconf/gconf-client.h b/gconf/gconf-client.h index 9586a4db..fd25f249 100644 --- a/gconf/gconf-client.h +++ b/gconf/gconf-client.h @@ -83,6 +83,7 @@ typedef void (*GConfClientNotifyFunc)(GConfClient* client, guint cnxn_id, const typedef GtkWidget* (*GConfClientParentWindowFunc) (GConfClient* client, gpointer user_data); +typedef void (*GConfClientErrorHandlerFunc) (GConfClient* client, GConfClientErrorHandlingMode mode, GConfClientParentWindowFunc parent_func, gpointer parent_user_data, GConfError* error); #define GCONF_TYPE_CLIENT (gconf_client_get_type ()) #define GCONF_CLIENT(obj) (GTK_CHECK_CAST ((obj), GCONF_TYPE_CLIENT, GConfClient)) @@ -202,6 +203,9 @@ void gconf_client_set_error_handling(GConfClient* client, gpointer user_data); +/* Intended for use by gnome-libs */ +void gconf_client_set_global_default_error_handler(GConfClientErrorHandlerFunc func); + /* * If you know you're done reading values for a while, * you can blow away the cache. Note that this nullifies the effect of |