summaryrefslogtreecommitdiffstats
path: root/src/connector-context.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-06-19 10:00:24 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2011-06-19 10:00:24 +0000
commit06dfaa02d7a80bcdff717d579a48f81643f53f31 (patch)
tree49b8e67ad9051f1507b0959cac986383ab4001e2 /src/connector-context.cpp
parentFix rendering of control points (diff)
parentfix bug 796451: Measure tools should support rotation constraint (diff)
downloadinkscape-06dfaa02d7a80bcdff717d579a48f81643f53f31.tar.gz
inkscape-06dfaa02d7a80bcdff717d579a48f81643f53f31.zip
Merge from trunk
(bzr r9508.1.89)
Diffstat (limited to 'src/connector-context.cpp')
-rw-r--r--src/connector-context.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/connector-context.cpp b/src/connector-context.cpp
index 27e052499..251b41066 100644
--- a/src/connector-context.cpp
+++ b/src/connector-context.cpp
@@ -1640,8 +1640,8 @@ static void cc_active_shape_add_knot(SPDesktop* desktop, SPItem* item, Connectio
knot->_event_handler_id);
knot->_event_handler_id = 0;
- gtk_signal_connect(GTK_OBJECT(knot->item), "event",
- GTK_SIGNAL_FUNC(cc_generic_knot_handler), knot);
+ g_signal_connect(G_OBJECT(knot->item), "event",
+ G_CALLBACK(cc_generic_knot_handler), knot);
sp_knot_set_position(knot, item->avoidRef->getConnectionPointPos(cp.type, cp.id) * desktop->doc2dt(), 0);
sp_knot_show(knot);
cphandles[knot] = cp;
@@ -1826,8 +1826,8 @@ cc_set_active_conn(SPConnectorContext *cc, SPItem *item)
knot->_event_handler_id);
knot->_event_handler_id = 0;
- gtk_signal_connect(GTK_OBJECT(knot->item), "event",
- GTK_SIGNAL_FUNC(cc_generic_knot_handler), knot);
+ g_signal_connect(G_OBJECT(knot->item), "event",
+ G_CALLBACK(cc_generic_knot_handler), knot);
cc->endpt_handle[i] = knot;
}