diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-06-05 12:34:43 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-06-05 12:34:43 +0000 |
| commit | c21611294dea99e78017f770feb78684573cce89 (patch) | |
| tree | 6a5c9ee15556f36277a47c015b8f46a34e8f6c27 /src/draw-anchor.cpp | |
| parent | Allow angle measurement base to be changed by tapping space. (diff) | |
| download | inkscape-c21611294dea99e78017f770feb78684573cce89.tar.gz inkscape-c21611294dea99e78017f770feb78684573cce89.zip | |
Header cleaning for GTK+3 migration
(bzr r11460)
Diffstat (limited to '')
| -rw-r--r-- | src/draw-anchor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/draw-anchor.cpp b/src/draw-anchor.cpp index 62a091608..591129d0b 100644 --- a/src/draw-anchor.cpp +++ b/src/draw-anchor.cpp @@ -82,14 +82,14 @@ SPDrawAnchor *sp_draw_anchor_test(SPDrawAnchor *anchor, Geom::Point w, gboolean if ( activate && ( Geom::LInfty( w - dt->d2w(anchor->dp) ) <= (ctrl->box.width() / 2.0) ) ) { if (!anchor->active) { - sp_canvas_item_set((GtkObject *) anchor->ctrl, "fill_color", FILL_COLOR_MOUSEOVER, NULL); + g_object_set(anchor->ctrl, "fill_color", FILL_COLOR_MOUSEOVER, NULL); anchor->active = TRUE; } return anchor; } if (anchor->active) { - sp_canvas_item_set((GtkObject *) anchor->ctrl, "fill_color", FILL_COLOR_NORMAL, NULL); + g_object_set(anchor->ctrl, "fill_color", FILL_COLOR_NORMAL, NULL); anchor->active = FALSE; } return NULL; |
