mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Unref entry completion in gtk-gtk-utils.c; I18n "Type", unref store in
dialog-account.c git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14590 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
4f15e187a8
commit
01dea719a7
@ -1,3 +1,8 @@
|
||||
2006-08-05 Andreas Köhler <andi5.py@gmx.net>
|
||||
|
||||
* src/core-utils/gnc-gtk-utils.c: Unref entry completion.
|
||||
* src/gnome-utils/dialog-account.c: I18n "Type", unref store.
|
||||
|
||||
2006-08-03 Andreas Köhler <andi5.py@gmx.net>
|
||||
|
||||
* src/gnome-utils/dialog-reset-warnings.c:
|
||||
|
@ -173,6 +173,7 @@ gnc_cbe_add_completion (GtkComboBoxEntry *cbe)
|
||||
gtk_entry_completion_set_text_column(completion, 0);
|
||||
gtk_entry_completion_set_inline_completion(completion, TRUE);
|
||||
gtk_entry_set_completion(entry, completion);
|
||||
g_object_unref(completion);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -583,7 +583,7 @@ fill_helper(gpointer key, gpointer value, gpointer data)
|
||||
if (fs->account == account) return;
|
||||
|
||||
full_name = xaccAccountGetFullName(account);
|
||||
account_field_name = "Type";
|
||||
account_field_name = _("Type");
|
||||
account_field_value = xaccAccountGetTypeStr(xaccAccountGetType(account));
|
||||
value_str = xaccAccountGetTypeStr(GPOINTER_TO_INT(value));
|
||||
|
||||
@ -645,7 +645,7 @@ extra_change_verify (AccountWindow *aw,
|
||||
|
||||
if (size == 0)
|
||||
{
|
||||
gtk_widget_destroy(GTK_WIDGET(store));
|
||||
g_object_unref(store);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@ -654,6 +654,7 @@ extra_change_verify (AccountWindow *aw,
|
||||
GTK_SORT_ASCENDING);
|
||||
|
||||
view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(GTK_TREE_MODEL(store)));
|
||||
g_object_unref(store);
|
||||
renderer = gtk_cell_renderer_text_new();
|
||||
column = gtk_tree_view_column_new_with_attributes(_("Account"), renderer,
|
||||
"text", ACCOUNT_COL_FULLNAME,
|
||||
@ -919,7 +920,7 @@ gnc_edit_account_ok(AccountWindow *aw)
|
||||
gnc_finish_ok (aw, change_type);
|
||||
|
||||
g_hash_table_destroy (change_type);
|
||||
LEAVE(" ");
|
||||
LEAVE(" ");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user