mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Fix the glade auto-connect code so it doesn't swap the callback
arguments when an explicit "object" is provided to the callback. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12156 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
2005-12-10 David Hampton <hampton@employees.org>
|
2005-12-10 David Hampton <hampton@employees.org>
|
||||||
|
|
||||||
|
* src/gnome-utils/dialog-utils.c: Fix the glade auto-connect code
|
||||||
|
so it doesn't swap the callback arguments when an explicit
|
||||||
|
"object" is provided to the callback. (This is an unused code
|
||||||
|
path that is about to be used.)
|
||||||
|
|
||||||
* src/register/register-gnome/gnucash-grid.c: Andreas Köhler's
|
* src/register/register-gnome/gnucash-grid.c: Andreas Köhler's
|
||||||
patch to fix the alignment of cells in the register.
|
patch to fix the alignment of cells in the register.
|
||||||
|
|
||||||
|
|||||||
@@ -913,9 +913,9 @@ gnc_glade_autoconnect_full_func(const gchar *handler_name,
|
|||||||
if (other_object) {
|
if (other_object) {
|
||||||
if (signal_after)
|
if (signal_after)
|
||||||
g_signal_connect_object (signal_object, signal_name, func,
|
g_signal_connect_object (signal_object, signal_name, func,
|
||||||
other_object, G_CONNECT_AFTER | G_CONNECT_SWAPPED);
|
other_object, G_CONNECT_AFTER);
|
||||||
else
|
else
|
||||||
g_signal_connect_swapped (signal_object, signal_name, func, other_object);
|
g_signal_connect_object (signal_object, signal_name, func, other_object, 0);
|
||||||
} else {
|
} else {
|
||||||
if (signal_after)
|
if (signal_after)
|
||||||
g_signal_connect_after(signal_object, signal_name, func, user_data);
|
g_signal_connect_after(signal_object, signal_name, func, user_data);
|
||||||
|
|||||||
Reference in New Issue
Block a user