diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-04-02 14:10:25 +0000 |
|---|---|---|
| committer | John Smith <removethis.john.q.public@bigmail.com> | 2012-04-02 14:10:25 +0000 |
| commit | aa45c83d224836b06d805b74912a2e98dfe32874 (patch) | |
| tree | c7f7e1e8a3b2a97d27b70e43b4fa55bfdc92c6b3 /src/helper/unit-menu.cpp | |
| parent | fix XML output of guideline color (diff) | |
| download | inkscape-aa45c83d224836b06d805b74912a2e98dfe32874.tar.gz inkscape-aa45c83d224836b06d805b74912a2e98dfe32874.zip | |
Fix for 367607 : Remove deprecated GTK+ symbols - Deprecated *_unref symbols replaced with g_object_unref
(bzr r11139)
Diffstat (limited to 'src/helper/unit-menu.cpp')
| -rw-r--r-- | src/helper/unit-menu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/unit-menu.cpp b/src/helper/unit-menu.cpp index ce64cabf4..ea1ddde5e 100644 --- a/src/helper/unit-menu.cpp +++ b/src/helper/unit-menu.cpp @@ -132,7 +132,7 @@ sp_unit_selector_finalize(GObject *object) } while (selector->adjustments) { - gtk_object_unref(GTK_OBJECT(selector->adjustments->data)); + g_object_unref(selector->adjustments->data); selector->adjustments = g_slist_remove(selector->adjustments, selector->adjustments->data); } @@ -341,7 +341,7 @@ sp_unit_selector_remove_adjustment(SPUnitSelector *us, GtkAdjustment *adj) g_return_if_fail(g_slist_find(us->adjustments, adj)); us->adjustments = g_slist_remove(us->adjustments, adj); - gtk_object_unref(GTK_OBJECT(adj)); + g_object_unref(adj); } gboolean |
