PATCH: gbooleans in GnomeClient signals
- From: murrayc t-online de (Murray Cumming)
- To: gnome-2-0-list <gnome-2-0-list gnome org>
- Subject: PATCH: gbooleans in GnomeClient signals
- Date: 04 Dec 2001 22:33:44 +0100
Some of the signal handlers in gnome-client use gints where they should
use gbooleans. May I commit this patch?
--
Murray Cumming
murrayc usa net
www.murrayc.com
? libgnomeui.kdevprj
? libgnomeui.kdevses
? gnome_about_construct.patch
? gnome_client_gbooleans.patch
Index: libgnomeui/gnome-client.c
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/gnome-client.c,v
retrieving revision 1.116
diff -u -u -p -r1.116 gnome-client.c
--- libgnomeui/gnome-client.c 2001/11/13 01:09:28 1.116
+++ libgnomeui/gnome-client.c 2001/12/04 21:17:36
@@ -70,10 +70,10 @@ static void gnome_real_client_finalize
static void gnome_real_client_save_complete (GnomeClient *client);
static void gnome_real_client_shutdown_cancelled (GnomeClient *client);
static void gnome_real_client_connect (GnomeClient *client,
- gint restarted);
+ gboolean restarted);
static void gnome_real_client_disconnect (GnomeClient *client);
static void master_client_connect (GnomeClient *client,
- gint restarted,
+ gboolean restarted,
gpointer client_data);
static void master_client_disconnect (GnomeClient *client,
gpointer client_data);
@@ -573,9 +573,9 @@ static void
client_save_yourself_callback (SmcConn smc_conn,
SmPointer client_data,
int save_style,
- Bool shutdown,
+ gboolean shutdown,
int interact_style,
- Bool fast)
+ gboolean fast)
{
GnomeClient *client= (GnomeClient*) client_data;
gchar *name, *prefix;
@@ -1095,7 +1095,7 @@ master_client_clean_up (void)
static void
master_client_connect (GnomeClient *client,
- gint restarted,
+ gboolean restarted,
gpointer client_data)
{
gdk_set_sm_client_id (gnome_client_get_id (client));
@@ -2325,7 +2325,7 @@ gnome_real_client_shutdown_cancelled (Gn
static void
gnome_real_client_connect (GnomeClient *client,
- gint restarted)
+ gboolean restarted)
{
g_return_if_fail (client != NULL);
g_return_if_fail (GNOME_IS_CLIENT (client));
Index: libgnomeui/gnome-client.h
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/gnome-client.h,v
retrieving revision 1.53
diff -u -u -p -r1.53 gnome-client.h
--- libgnomeui/gnome-client.h 2001/10/31 21:05:13 1.53
+++ libgnomeui/gnome-client.h 2001/12/04 21:17:37
@@ -170,15 +170,15 @@ struct _GnomeClientClass
gboolean (* save_yourself) (GnomeClient *client,
gint phase,
GnomeSaveStyle save_style,
- gint shutdown,
+ gboolean shutdown,
GnomeInteractStyle interact_style,
- gint fast);
+ gboolean fast);
void (* die) (GnomeClient *client);
void (* save_complete) (GnomeClient *client);
void (* shutdown_cancelled) (GnomeClient *client);
void (* connect) (GnomeClient *client,
- gint restarted);
+ gboolean restarted);
void (* disconnect) (GnomeClient *client);
/* Padding for possible expansion */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]