diff options
author | Stefano Karapetsas <[email protected]> | 2013-10-26 14:38:46 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-10-26 14:38:46 +0200 |
commit | 57c9c407461f47ec09f0a2a631601450a0209af6 (patch) | |
tree | bdc9160d2ac9c28d400dc80acd6a1bb4c2617bd4 /applets/clock/clock-location-tile.c | |
parent | 85ee20fe919a4824c538d9140f49db2320635d33 (diff) | |
download | mate-panel-57c9c407461f47ec09f0a2a631601450a0209af6.tar.bz2 mate-panel-57c9c407461f47ec09f0a2a631601450a0209af6.tar.xz |
clock: Add GTK3 support
Diffstat (limited to 'applets/clock/clock-location-tile.c')
-rw-r--r-- | applets/clock/clock-location-tile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c index 33007b14..1ff428ab 100644 --- a/applets/clock/clock-location-tile.c +++ b/applets/clock/clock-location-tile.c @@ -204,7 +204,11 @@ make_current (GtkWidget *widget, ClockLocationTile *tile) GdkWindow *window = gtk_widget_get_window (toplevel); if (window) +#if GTK_CHECK_VERSION (3, 0, 0) + xid = GDK_WINDOW_XID (window); +#else xid = GDK_WINDOW_XWINDOW (window); +#endif } clock_location_make_current (priv->location, |