From 4fbdbe250e0cee0c76ffb521b658c93f192539f8 Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 14 Dec 2014 15:46:56 +0100 Subject: Fix deprecated functions Remove, now unneeded, gdkkeysyms-compat.h include Always use gtk_combo_box_text_new (since Gtk+ 2.24) Gtk3: do not use gdk_cursor_unref Gtk3: replace gtk_hpaned_new Gtk3: replace gtk_widget_modify_font --- mate-dictionary/libgdict/gdict-database-chooser.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mate-dictionary/libgdict/gdict-database-chooser.c') diff --git a/mate-dictionary/libgdict/gdict-database-chooser.c b/mate-dictionary/libgdict/gdict-database-chooser.c index 11cc80ce..abf5f86e 100644 --- a/mate-dictionary/libgdict/gdict-database-chooser.c +++ b/mate-dictionary/libgdict/gdict-database-chooser.c @@ -190,7 +190,11 @@ gdict_database_chooser_dispose (GObject *gobject) if (priv->busy_cursor) { +#if GTK_CHECK_VERSION (3, 0, 0) + g_object_unref (priv->busy_cursor); +#else gdk_cursor_unref (priv->busy_cursor); +#endif priv->busy_cursor = NULL; } -- cgit v1.2.1