[Xfce4-commits] <libxfce4ui:master> Fix the save-state signal.
Nick Schermer
noreply at xfce.org
Fri Nov 26 23:40:01 CET 2010
Updating branch refs/heads/master
to fbe7bf6531a1e11d40f4add7b298df980c51427d (commit)
from 88302cb0c23f9fd087548b7fb570b2fb056e884b (commit)
commit fbe7bf6531a1e11d40f4add7b298df980c51427d
Author: Nick Schermer <nick at xfce.org>
Date: Fri Nov 26 23:37:42 2010 +0100
Fix the save-state signal.
My best guess is that the boolean was never intended and the
wrong structure member was used too.
libxfce4ui/xfce-sm-client.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/libxfce4ui/xfce-sm-client.c b/libxfce4ui/xfce-sm-client.c
index 9781eff..28997ef 100644
--- a/libxfce4ui/xfce-sm-client.c
+++ b/libxfce4ui/xfce-sm-client.c
@@ -276,11 +276,10 @@ xfce_sm_client_class_init(XfceSMClientClass *klass)
G_TYPE_FROM_CLASS(klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET(XfceSMClientClass,
- save_state_extended),
+ save_state),
NULL, NULL,
- g_cclosure_marshal_VOID__BOOLEAN,
- G_TYPE_NONE, 1,
- G_TYPE_BOOLEAN);
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
/**
* XfceSMClient::save-state-extended:
More information about the Xfce4-commits
mailing list