aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-alarm-list.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-02-13 00:37:05 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:34 +0800
commit274697623e2a6749a3b173c28f4832d9e88019e3 (patch)
tree5edbcc1f1cff8b9b00c49bbdea505647570bd3ed /calendar/gui/e-alarm-list.c
parent2952f3482a58a6c325a80a7fbd7ef6c5f727507d (diff)
downloadgsoc2013-evolution-274697623e2a6749a3b173c28f4832d9e88019e3.tar
gsoc2013-evolution-274697623e2a6749a3b173c28f4832d9e88019e3.tar.gz
gsoc2013-evolution-274697623e2a6749a3b173c28f4832d9e88019e3.tar.bz2
gsoc2013-evolution-274697623e2a6749a3b173c28f4832d9e88019e3.tar.lz
gsoc2013-evolution-274697623e2a6749a3b173c28f4832d9e88019e3.tar.xz
gsoc2013-evolution-274697623e2a6749a3b173c28f4832d9e88019e3.tar.zst
gsoc2013-evolution-274697623e2a6749a3b173c28f4832d9e88019e3.zip
Remove NULL checks for GObject methods.
As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
Diffstat (limited to 'calendar/gui/e-alarm-list.c')
-rw-r--r--calendar/gui/e-alarm-list.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/calendar/gui/e-alarm-list.c b/calendar/gui/e-alarm-list.c
index c7f7ff9691..4132cb785c 100644
--- a/calendar/gui/e-alarm-list.c
+++ b/calendar/gui/e-alarm-list.c
@@ -40,7 +40,6 @@ static GType column_types[E_ALARM_LIST_NUM_COLUMNS];
static void e_alarm_list_init (EAlarmList *file_list);
static void e_alarm_list_class_init (EAlarmListClass *class);
static void e_alarm_list_tree_model_init (GtkTreeModelIface *iface);
-static void e_alarm_list_finalize (GObject *object);
static GtkTreeModelFlags e_alarm_list_get_flags (GtkTreeModel *tree_model);
static gint e_alarm_list_get_n_columns (GtkTreeModel *tree_model);
static GType e_alarm_list_get_column_type (GtkTreeModel *tree_model,
@@ -114,12 +113,7 @@ e_alarm_list_get_type (void)
static void
e_alarm_list_class_init (EAlarmListClass *class)
{
- GObjectClass *object_class;
-
parent_class = g_type_class_peek_parent (class);
- object_class = (GObjectClass *) class;
-
- object_class->finalize = e_alarm_list_finalize;
}
static void
@@ -219,13 +213,6 @@ row_updated (EAlarmList *alarm_list, gint n)
gtk_tree_path_free (path);
}
-static void
-e_alarm_list_finalize (GObject *object)
-{
- if (G_OBJECT_CLASS (parent_class)->finalize)
- (* G_OBJECT_CLASS (parent_class)->finalize) (object);
-}
-
/* Fulfill the GtkTreeModel requirements */
static GtkTreeModelFlags
e_alarm_list_get_flags (GtkTreeModel *tree_model)