summaryrefslogtreecommitdiff
path: root/applets/clock/clock.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-02-22 11:32:10 +0100
committerStefano Karapetsas <[email protected]>2014-02-22 11:32:10 +0100
commit838555a41dc08a870b408628f529b66e2c8c4054 (patch)
tree6be25b6ce5cc28e4303ebd1b6e8b5552c4d38d26 /applets/clock/clock.c
parentce82ba10c09a96dc5388f06ecb2891826a15272d (diff)
parentd1920da2d961deca7052f8b4e508c7621895de71 (diff)
downloadmate-panel-838555a41dc08a870b408628f529b66e2c8c4054.tar.bz2
mate-panel-838555a41dc08a870b408628f529b66e2c8c4054.tar.xz
Merge pull request #171 from dnk/transient_parent_xid
transient_parent_xid is not used
Diffstat (limited to 'applets/clock/clock.c')
-rw-r--r--applets/clock/clock.c7
1 files changed, 1 insertions, 6 deletions
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);
}