Minor code beautification
This commit is contained in:
parent
fc4cd15d59
commit
078a26dc8f
@ -56,7 +56,8 @@ void ag_icon_view_add_chart(AgIconView *icon_view, AgDbChartSave *chart_save);
|
||||
|
||||
GList *ag_icon_view_get_selected_items(AgIconView *icon_view);
|
||||
|
||||
AgDbChartSave *ag_icon_view_get_chart_save_at_path(AgIconView *icon_view, const GtkTreePath *path);
|
||||
AgDbChartSave *ag_icon_view_get_chart_save_at_path(AgIconView *icon_view,
|
||||
const GtkTreePath *path);
|
||||
|
||||
void ag_icon_view_select_all(AgIconView *icon_view);
|
||||
|
||||
|
@ -1658,7 +1658,10 @@ ag_window_back_action(GSimpleAction *action,
|
||||
g_debug("Back button pressed");
|
||||
|
||||
if (ag_window_can_close(window, TRUE)) {
|
||||
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(priv->toolbar_aspect), TRUE);
|
||||
gtk_toggle_button_set_active(
|
||||
GTK_TOGGLE_BUTTON(priv->toolbar_aspect),
|
||||
TRUE
|
||||
);
|
||||
g_clear_object(&(priv->chart));
|
||||
ag_db_chart_save_unref(priv->saved_data);
|
||||
priv->saved_data = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user