diff options
Diffstat (limited to 'src/helper/unit-menu.cpp')
| -rw-r--r-- | src/helper/unit-menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/unit-menu.cpp b/src/helper/unit-menu.cpp index ea1ddde5e..964ca9d67 100644 --- a/src/helper/unit-menu.cpp +++ b/src/helper/unit-menu.cpp @@ -326,7 +326,7 @@ sp_unit_selector_add_adjustment(SPUnitSelector *us, GtkAdjustment *adj) g_return_if_fail(!g_slist_find(us->adjustments, adj)); - gtk_object_ref(GTK_OBJECT(adj)); + g_object_ref(adj); us->adjustments = g_slist_prepend(us->adjustments, adj); } |
