diff options
author | Stefano Karapetsas <[email protected]> | 2014-02-22 11:32:10 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-02-22 11:32:10 +0100 |
commit | 838555a41dc08a870b408628f529b66e2c8c4054 (patch) | |
tree | 6be25b6ce5cc28e4303ebd1b6e8b5552c4d38d26 /applets/clock/clock-location-tile.c | |
parent | ce82ba10c09a96dc5388f06ecb2891826a15272d (diff) | |
parent | d1920da2d961deca7052f8b4e508c7621895de71 (diff) | |
download | mate-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-location-tile.c')
-rw-r--r-- | applets/clock/clock-location-tile.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c index 1ff428ab..1dd8d23b 100644 --- a/applets/clock/clock-location-tile.c +++ b/applets/clock/clock-location-tile.c @@ -194,25 +194,8 @@ static void make_current (GtkWidget *widget, ClockLocationTile *tile) { ClockLocationTilePrivate *priv = PRIVATE (tile); - GtkWidget *toplevel; - guint xid; - - xid = 0; - toplevel = gtk_widget_get_toplevel (GTK_WIDGET (tile)); - - if (toplevel) { - 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, - xid, (GFunc)make_current_cb, tile, NULL); } |