From d2d67534b3f4a8bbff96f8add88b6da0b24211de Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sat, 2 Aug 2014 19:58:33 +0200 Subject: [PATCH] Change return type of ag_window_list_item_activated_cb() to void The signal itself defines its return type as GTK_TYPE_VOID --- src/ag-window.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/ag-window.c b/src/ag-window.c index f02d63a..ecc373f 100644 --- a/src/ag-window.c +++ b/src/ag-window.c @@ -1076,7 +1076,7 @@ ag_window_set_default_house_system(GtkTreeModel *model, return FALSE; } -static gboolean +static void ag_window_list_item_activated_cb(GdMainView *view, const gchar *id, const GtkTreePath *path, @@ -1098,7 +1098,7 @@ ag_window_list_item_activated_cb(GdMainView *view, ag_window_change_tab(window, "chart"); - return FALSE; + return; } if ((priv->saved_data = ag_db_get_chart_data_by_id( @@ -1111,7 +1111,7 @@ ag_window_list_item_activated_cb(GdMainView *view, "Could not open chart." ); - return FALSE; + return; } if (priv->chart) { @@ -1132,14 +1132,12 @@ ag_window_list_item_activated_cb(GdMainView *view, ag_db_save_data_free(priv->saved_data); priv->saved_data = NULL; - return FALSE; + return; } ag_window_update_from_chart(window); ag_window_change_tab(window, "chart"); - - return FALSE; } static void