diff options
author | infirit <[email protected]> | 2014-12-14 15:46:56 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-15 23:24:56 +0100 |
commit | 4fbdbe250e0cee0c76ffb521b658c93f192539f8 (patch) | |
tree | 517379015fc9f056d592cfa8c9fbdf177840f7ed /mate-screenshot/screenshot-dialog.c | |
parent | 55f6eca4a8876718f9050191c7f67594928151c1 (diff) | |
download | mate-utils-4fbdbe250e0cee0c76ffb521b658c93f192539f8.tar.bz2 mate-utils-4fbdbe250e0cee0c76ffb521b658c93f192539f8.tar.xz |
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
Diffstat (limited to 'mate-screenshot/screenshot-dialog.c')
-rw-r--r-- | mate-screenshot/screenshot-dialog.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-screenshot/screenshot-dialog.c b/mate-screenshot/screenshot-dialog.c index f9c9a331..c5105be7 100644 --- a/mate-screenshot/screenshot-dialog.c +++ b/mate-screenshot/screenshot-dialog.c @@ -402,7 +402,11 @@ screenshot_dialog_set_busy (ScreenshotDialog *dialog, /* Change cursor to busy */ cursor = gdk_cursor_new (GDK_WATCH); gdk_window_set_cursor (gtk_widget_get_window (toplevel), cursor); +#if GTK_CHECK_VERSION (3, 0, 0) + g_object_unref (cursor); +#else gdk_cursor_unref (cursor); +#endif } else { |