summaryrefslogtreecommitdiff
path: root/mateweather/mateweather-applet.c
diff options
context:
space:
mode:
Diffstat (limited to 'mateweather/mateweather-applet.c')
-rw-r--r--mateweather/mateweather-applet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mateweather/mateweather-applet.c b/mateweather/mateweather-applet.c
index bf737800..9d774e55 100644
--- a/mateweather/mateweather-applet.c
+++ b/mateweather/mateweather-applet.c
@@ -153,6 +153,7 @@ static void place_widgets (MateWeatherApplet *gw_applet)
if (icon_name != NULL) {
#if GTK_CHECK_VERSION(3, 0, 0)
+ gtk_widget_show (gw_applet->image);
gtk_widget_get_preferred_size (gw_applet->image, &req, NULL);
#else
gtk_widget_size_request(gw_applet->image, &req);
@@ -173,6 +174,7 @@ static void place_widgets (MateWeatherApplet *gw_applet)
/* Check the label size to determine box layout */
#if GTK_CHECK_VERSION(3, 0, 0)
+ gtk_widget_show (gw_applet->label);
gtk_widget_get_preferred_size (gw_applet->label, &req, NULL);
#else
gtk_widget_size_request(gw_applet->label, &req);