[gedit-plugins/remove-deprecated] Remove deprecated from gedit-bookmarks-message-toggle
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins/remove-deprecated] Remove deprecated from gedit-bookmarks-message-toggle
- Date: Sun, 28 Apr 2019 09:44:43 +0000 (UTC)
commit ac220d4325e24fc9a176bf1270465fa11a250c25
Author: Jordi Mas <jmas softcatala org>
Date: Sun Apr 28 11:44:31 2019 +0200
Remove deprecated from gedit-bookmarks-message-toggle
plugins/bookmarks/messages/gedit-bookmarks-message-toggle.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/plugins/bookmarks/messages/gedit-bookmarks-message-toggle.c
b/plugins/bookmarks/messages/gedit-bookmarks-message-toggle.c
index 26d1b83..96c2d5b 100644
--- a/plugins/bookmarks/messages/gedit-bookmarks-message-toggle.c
+++ b/plugins/bookmarks/messages/gedit-bookmarks-message-toggle.c
@@ -24,8 +24,6 @@
#include <gedit/gedit-view.h>
#include "gedit-bookmarks-message-toggle.h"
-#define GEDIT_BOOKMARKS_MESSAGE_TOGGLE_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object),
GEDIT_TYPE_BOOKMARKS_MESSAGE_TOGGLE, GeditBookmarksMessageTogglePrivate))
-
enum
{
PROP_0,
@@ -143,11 +141,10 @@ gedit_bookmarks_message_toggle_class_init (GeditBookmarksMessageToggleClass *kla
G_PARAM_CONSTRUCT |
G_PARAM_STATIC_STRINGS));
- g_type_class_add_private (object_class, sizeof (GeditBookmarksMessageTogglePrivate));
}
static void
gedit_bookmarks_message_toggle_init (GeditBookmarksMessageToggle *message)
{
- message->priv = GEDIT_BOOKMARKS_MESSAGE_TOGGLE_GET_PRIVATE (message);
+ message->priv = gedit_bookmarks_message_toggle_get_instance_private (message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]