From d1920da2d961deca7052f8b4e508c7621895de71 Mon Sep 17 00:00:00 2001 From: Denis Gorodnichev Date: Fri, 21 Feb 2014 23:43:25 +0400 Subject: transient_parent_xid is not used transient_parent_xid is not used but can cause problem: applet widget have not window until realized --- applets/clock/clock.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'applets/clock/clock.c') diff --git a/applets/clock/clock.c b/applets/clock/clock.c index 347dfefc..ef35eff4 100644 --- a/applets/clock/clock.c +++ b/applets/clock/clock.c @@ -2118,12 +2118,7 @@ location_start_element (GMarkupParseContext *context, latitude, longitude, code, &prefs); if (current && clock_location_is_current_timezone (loc)) -#if GTK_CHECK_VERSION (3, 0, 0) - clock_location_make_current (loc, GDK_WINDOW_XID (gtk_widget_get_window (cd->applet)), -#else - clock_location_make_current (loc, GDK_WINDOW_XWINDOW (gtk_widget_get_window (cd->applet)), -#endif - NULL, NULL, NULL); + clock_location_make_current (loc, NULL, NULL, NULL); data->cities = g_list_append (data->cities, loc); } -- cgit v1.2.1