[eog] Replace uses of deprecated gdk_app_launch_context_new function
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] Replace uses of deprecated gdk_app_launch_context_new function
- Date: Wed, 30 Nov 2011 13:52:01 +0000 (UTC)
commit da78cc9ce6d8f02af9003d613fbb88951d0130bc
Author: Felix Riemann <friemann gnome org>
Date: Wed Nov 30 14:51:05 2011 +0100
Replace uses of deprecated gdk_app_launch_context_new function
Use gdk_display_get_app_launch_context as advertised in GTK+ docs.
src/eog-window.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index 6393e44..8479c02 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -4375,7 +4375,8 @@ eog_window_open_editor (GtkAction *action,
if (app_info == NULL)
return;
- context = gdk_app_launch_context_new ();
+ context = gdk_display_get_app_launch_context (
+ gtk_widget_get_display (GTK_WIDGET (window)));
gdk_app_launch_context_set_screen (context,
gtk_widget_get_screen (GTK_WIDGET (window)));
gdk_app_launch_context_set_icon (context,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]