projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/ui/gui/windows-menu.c (repopulate_windows_menu): Avoid memory leak
[pspp]
/
src
/
ui
/
gui
/
psppire-acr.c
diff --git
a/src/ui/gui/psppire-acr.c
b/src/ui/gui/psppire-acr.c
index a2ee6af55913ad63114c07a2713014da716f2a06..b858df268eb904ac927576af39b47b4efc3db74b 100644
(file)
--- a/
src/ui/gui/psppire-acr.c
+++ b/
src/ui/gui/psppire-acr.c
@@
-135,7
+135,7
@@
on_add_button_clicked (PsppireAcr *acr)
++i)
{
static GValue value;
++i)
{
static GValue value;
- if (
! acr->get_value (i, &value, acr->get_value_data)
)
+ if (
! acr->get_value (i, &value, acr->get_value_data)
)
continue;
gtk_list_store_set_value (acr->list_store, &iter,
continue;
gtk_list_store_set_value (acr->list_store, &iter,
@@
-170,7
+170,7
@@
on_change_button_clicked (PsppireAcr *acr)
++i)
{
static GValue value;
++i)
{
static GValue value;
- if (
! acr->get_value (i, &value, acr->get_value_data)
)
+ if (
! acr->get_value (i, &value, acr->get_value_data)
)
continue;
gtk_list_store_set_value (acr->list_store, &iter,
continue;
gtk_list_store_set_value (acr->list_store, &iter,
@@
-181,7
+181,7
@@
on_change_button_clicked (PsppireAcr *acr)
g_list_foreach (l, (GFunc) gtk_tree_path_free, NULL);
g_list_free (l);
g_list_foreach (l, (GFunc) gtk_tree_path_free, NULL);
g_list_free (l);
- if (
acr->update) acr->update (acr->update_data);
+ if (acr->update) acr->update (acr->update_data);
}
}
@@
-238,7
+238,7
@@
on_select (GtkTreeSelection *selection, gpointer data)
gtk_widget_set_sensitive (acr->change_button,
row_is_selected (acr)
gtk_widget_set_sensitive (acr->change_button,
row_is_selected (acr)
-
);
+ );
}
}