[Gnucash-changes] Patch from Scott Oonk to fix an invalid cast
warning when selecting an
David Hampton
hampton at cvs.gnucash.org
Sun Oct 23 18:41:22 EDT 2005
Log Message:
-----------
Patch from Scott Oonk to fix an invalid cast warning when selecting an
account in the accounts tab of the options dialog.
Tags:
----
gnucash-gnome2-dev
Modified Files:
--------------
gnucash/src/gnome-utils:
dialog-options.c
Revision Data
-------------
Index: dialog-options.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome-utils/dialog-options.c,v
retrieving revision 1.22.2.25
retrieving revision 1.22.2.26
diff -Lsrc/gnome-utils/dialog-options.c -Lsrc/gnome-utils/dialog-options.c -u -r1.22.2.25 -r1.22.2.26
--- src/gnome-utils/dialog-options.c
+++ src/gnome-utils/dialog-options.c
@@ -528,8 +528,11 @@
gnc_option_account_cb(GtkTreeSelection *selection, gpointer data)
{
GNCOption *option = data;
+ GtkTreeView *tree_view;
- gnc_option_changed_widget_cb(GTK_WIDGET(selection), option);
+ tree_view = gtk_tree_selection_get_tree_view(selection);
+
+ gnc_option_changed_widget_cb(GTK_WIDGET(tree_view), option);
}
static void
More information about the gnucash-changes
mailing list