[PATCH] Remove useless xdisplay property from FindMessageData
Julien Danjou
julien at danjou.info
Thu Jan 29 06:37:39 PST 2009
Signed-off-by: Julien Danjou <julien at danjou.info>
---
libsn/sn-xmessages.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/libsn/sn-xmessages.c b/libsn/sn-xmessages.c
index 50afb0a..3c328c8 100644
--- a/libsn/sn-xmessages.c
+++ b/libsn/sn-xmessages.c
@@ -275,7 +275,6 @@ some_handler_handles_event (SnDisplay *display,
typedef struct
{
- Display *xdisplay;
XEvent *xevent;
SnXmessage *message;
} FindMessageData;
@@ -313,7 +312,6 @@ add_event_to_messages (SnDisplay *display,
*/
#define MAX_MESSAGE_LENGTH 4096
- fmd.xdisplay = sn_display_get_x_display (display);
fmd.xevent = xevent;
fmd.message = NULL;
--
1.5.6.5
More information about the xdg
mailing list