summaryrefslogtreecommitdiff
path: root/src/gl-eventviewdetail.h
diff options
context:
space:
mode:
authorDavid King <davidk@gnome.org>2015-04-13 16:43:35 +0100
committerDavid King <davidk@gnome.org>2015-04-13 16:43:35 +0100
commita8ca8c79f349d70a825051b965c35b10cf0cd915 (patch)
treeb2125085385fcc0002d0e2e13e2fae64db60c893 /src/gl-eventviewdetail.h
parent81f44c881d5e40310c789790d3fe2f20756f11db (diff)
downloadgnome-logs-a8ca8c79f349d70a825051b965c35b10cf0cd915.tar.gz
Use G_DECLARE_FINAL_TYPE throughout
Diffstat (limited to 'src/gl-eventviewdetail.h')
-rw-r--r--src/gl-eventviewdetail.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/gl-eventviewdetail.h b/src/gl-eventviewdetail.h
index 0e4d7a5..7998b9d 100644
--- a/src/gl-eventviewdetail.h
+++ b/src/gl-eventviewdetail.h
@@ -1,6 +1,6 @@
/*
* GNOME Logs - View and search logs
- * Copyright (C) 2013 Red Hat, Inc.
+ * Copyright (C) 2013, 2014, 2015 Red Hat, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -26,22 +26,9 @@ G_BEGIN_DECLS
#include "gl-journal.h"
#include "gl-util.h"
-typedef struct
-{
- /*< private >*/
- GtkBin parent_instance;
-} GlEventViewDetail;
-
-typedef struct
-{
- /*< private >*/
- GtkBinClass parent_class;
-} GlEventViewDetailClass;
-
#define GL_TYPE_EVENT_VIEW_DETAIL (gl_event_view_detail_get_type ())
-#define GL_EVENT_VIEW_DETAIL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GL_TYPE_EVENT_VIEW_DETAIL, GlEventViewDetail))
+G_DECLARE_FINAL_TYPE (GlEventViewDetail, gl_event_view_detail, GL, EVENT_VIEW_DETAIL, GtkBin)
-GType gl_event_view_detail_get_type (void);
GtkWidget * gl_event_view_detail_new (GlJournalEntry *result, GlUtilClockFormat clock_format);
G_END_DECLS