[gnome-calendar/calendar-management] sources-dialog: cast to GDestroyNotify
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/calendar-management] sources-dialog: cast to GDestroyNotify
- Date: Thu, 15 Jan 2015 20:40:31 +0000 (UTC)
commit d3a00eda7e9f633274a3c61c52ca97487682fe35
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Jan 15 06:55:34 2015 -0200
sources-dialog: cast to GDestroyNotify
Only to avoid some compiler warnings.
src/gcal-source-manager-dialog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-source-manager-dialog.c b/src/gcal-source-manager-dialog.c
index 0023789..7d7b95d 100644
--- a/src/gcal-source-manager-dialog.c
+++ b/src/gcal-source-manager-dialog.c
@@ -298,7 +298,8 @@ gcal_source_manager_dialog_init (GcalSourceManagerDialog *self)
priv = gcal_source_manager_dialog_get_instance_private (self);
- priv->row_to_source = g_hash_table_new_full (g_direct_hash, g_direct_equal, gtk_widget_destroy, NULL);
+ priv->row_to_source = g_hash_table_new_full (g_direct_hash, g_direct_equal, (GDestroyNotify)
gtk_widget_destroy,
+ NULL);
gtk_widget_init_template (GTK_WIDGET (self));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]