diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-12-15 02:37:03 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-12-21 12:07:00 -0500 |
commit | 6c16ddc2d361f6c644550e22b01fb90bf6ab1ed1 (patch) | |
tree | 172f83e2081d7f7c30c5bcc709ae7a3e64c5cb58 /gdk/x11 | |
parent | fa33839d72e54e67fa01e9063e2b03a7e1fdaf68 (diff) | |
download | gtk+-6c16ddc2d361f6c644550e22b01fb90bf6ab1ed1.tar.gz |
Make GdkAppLaunchContext work again
We didn't set the display, ever. Add a construct-only property
for this purpose.
Diffstat (limited to 'gdk/x11')
-rw-r--r-- | gdk/x11/gdkapplaunchcontext-x11.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdk/x11/gdkapplaunchcontext-x11.c b/gdk/x11/gdkapplaunchcontext-x11.c index 7aebfa7847..89ed5aae0d 100644 --- a/gdk/x11/gdkapplaunchcontext-x11.c +++ b/gdk/x11/gdkapplaunchcontext-x11.c @@ -453,8 +453,9 @@ _gdk_x11_display_get_app_launch_context (GdkDisplay *display) { GdkAppLaunchContext *ctx; - ctx = g_object_new (_gdk_app_launch_context_x11_get_type (), NULL); - gdk_app_launch_context_set_display (ctx, display); + ctx = g_object_new (_gdk_app_launch_context_x11_get_type (), + "display", display, + NULL); return ctx; } |