diff options
author | Wu Xiaotian <[email protected]> | 2020-01-16 18:46:24 +0800 |
---|---|---|
committer | Wu Xiaotian <[email protected]> | 2020-04-29 14:21:27 +0800 |
commit | 498469e29e3a4ad73d8278ea00e9862deaed6563 (patch) | |
tree | 361e1c4291ce3f67c556dcf9dd8b8fd6fec117e9 /applets/clock/clock-location-tile.c | |
parent | 9a57a262f0597e0b3676795f6de5696b3e59def7 (diff) | |
download | mate-panel-498469e29e3a4ad73d8278ea00e9862deaed6563.tar.bz2 mate-panel-498469e29e3a4ad73d8278ea00e9862deaed6563.tar.xz |
update
Diffstat (limited to 'applets/clock/clock-location-tile.c')
-rw-r--r-- | applets/clock/clock-location-tile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c index 5e3e0985..c7cee4b7 100644 --- a/applets/clock/clock-location-tile.c +++ b/applets/clock/clock-location-tile.c @@ -69,7 +69,7 @@ clock_location_tile_new (ClockLocation *loc, ClockLocationTile *this; ClockLocationTilePrivate *priv; - this = g_object_new (CLOCK_LOCATION_TILE_TYPE, NULL); + this = g_object_new (CLOCK_TYPE_LOCATION_TILE, NULL); priv = clock_location_tile_get_instance_private (this); @@ -556,7 +556,7 @@ clock_location_tile_refresh (ClockLocationTile *this, gboolean force_refresh) long offset; int format; - g_return_if_fail (IS_CLOCK_LOCATION_TILE (this)); + g_return_if_fail (CLOCK_IS_LOCATION_TILE (this)); if (clock_location_is_current (priv->location)) { gtk_widget_hide (priv->current_spacer); @@ -760,7 +760,7 @@ clock_location_tile_get_location (ClockLocationTile *this) { ClockLocationTilePrivate *priv; - g_return_val_if_fail (IS_CLOCK_LOCATION_TILE (this), NULL); + g_return_val_if_fail (CLOCK_IS_LOCATION_TILE (this), NULL); priv = clock_location_tile_get_instance_private (this); |