[libegg] Fixed bug in testspreadtablednd.c



commit 2fcac448e963596a1a6e817df44af5864983d3e0
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Tue Apr 12 18:06:21 2011 +0900

    Fixed bug in testspreadtablednd.c
    
    The "child-accepts-drop" control was not working (only the parent control was).

 libegg/spreadtable/testspreadtablednd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libegg/spreadtable/testspreadtablednd.c b/libegg/spreadtable/testspreadtablednd.c
index bff5277..30530e3 100644
--- a/libegg/spreadtable/testspreadtablednd.c
+++ b/libegg/spreadtable/testspreadtablednd.c
@@ -267,7 +267,7 @@ create_window (void)
   gtk_widget_show (widget);
   gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widget), TRUE);
   gtk_box_pack_start (GTK_BOX (paper_cntl), widget, FALSE, FALSE, 0);
-  g_signal_connect (widget, "toggled", G_CALLBACK (set_boolean), &parent_accepts_drops);
+  g_signal_connect (widget, "toggled", G_CALLBACK (set_boolean), &child_accepts_drops);
 
   /* Add lines controls */
   hbox = gtk_hbox_new (FALSE, 2);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]