[gedit] GeditDocument: use generic marshaller
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] GeditDocument: use generic marshaller
- Date: Wed, 29 Apr 2015 11:49:24 +0000 (UTC)
commit dcd3f0b2de8c2cb0c8bcf3beb5acea0d6a6cc09e
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Apr 29 13:45:51 2015 +0200
GeditDocument: use generic marshaller
The code is simpler with NULL (for the generic marshaller).
Remove also useless #include's.
gedit/gedit-document.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c
index fbe8f6d..8956623 100644
--- a/gedit/gedit-document.c
+++ b/gedit/gedit-document.c
@@ -34,8 +34,6 @@
#include "gedit-settings.h"
#include "gedit-debug.h"
#include "gedit-utils.h"
-#include "gedit-marshal.h"
-#include "gedit-enum-types.h"
#ifndef ENABLE_GVFS_METADATA
#include "gedit-metadata-manager.h"
@@ -462,8 +460,7 @@ gedit_document_class_init (GeditDocumentClass *klass)
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GeditDocumentClass, cursor_moved),
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL, NULL, NULL,
G_TYPE_NONE,
0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]