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/widgets | |
| 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/widgets')
| -rw-r--r-- | src/widgets/sp-color-slider.cpp | 4 | ||||
| -rw-r--r-- | src/widgets/sp-widget.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/sp-color-slider.cpp b/src/widgets/sp-color-slider.cpp index 5ec6d57df..047083b43 100644 --- a/src/widgets/sp-color-slider.cpp +++ b/src/widgets/sp-color-slider.cpp @@ -171,7 +171,7 @@ sp_color_slider_destroy (GtkObject *object) if (slider->adjustment) { g_signal_handlers_disconnect_matched (G_OBJECT (slider->adjustment), G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, slider); - gtk_object_unref (GTK_OBJECT (slider->adjustment)); + g_object_unref (slider->adjustment); slider->adjustment = NULL; } @@ -343,7 +343,7 @@ void sp_color_slider_set_adjustment(SPColorSlider *slider, GtkAdjustment *adjust if (slider->adjustment != adjustment) { if (slider->adjustment) { g_signal_handlers_disconnect_matched (G_OBJECT (slider->adjustment), G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, slider); - gtk_object_unref (GTK_OBJECT (slider->adjustment)); + g_object_unref (slider->adjustment); } slider->adjustment = adjustment; diff --git a/src/widgets/sp-widget.cpp b/src/widgets/sp-widget.cpp index aa4c85851..8645d90f7 100644 --- a/src/widgets/sp-widget.cpp +++ b/src/widgets/sp-widget.cpp @@ -234,7 +234,7 @@ sp_widget_new_global (Inkscape::Application *inkscape) spw = (SPWidget*)g_object_new (SP_TYPE_WIDGET, NULL); if (!sp_widget_construct_global (spw, inkscape)) { - gtk_object_unref (GTK_OBJECT (spw)); + g_object_unref (spw); return NULL; } |
