diff options
-rw-r--r-- | mateweather/mateweather-applet.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mateweather/mateweather-applet.c b/mateweather/mateweather-applet.c index 856c3475..fbbbaebd 100644 --- a/mateweather/mateweather-applet.c +++ b/mateweather/mateweather-applet.c @@ -185,7 +185,7 @@ static void place_widgets (MateWeatherApplet *gw_applet) gw_applet->box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); /* Rebuild the applet it's visual area */ - gtk_container_add (GTK_CONTAINER (gw_applet->container), gw_applet->box); + gtk_container_add (GTK_CONTAINER (gw_applet->applet), gw_applet->box); gtk_box_pack_start (GTK_BOX (gw_applet->box), gw_applet->image, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (gw_applet->box), gw_applet->label, TRUE, TRUE, 0); @@ -340,9 +340,6 @@ void mateweather_applet_create (MateWeatherApplet *gw_applet) gtk_window_set_default_icon_name ("weather-storm"); - gw_applet->container = gtk_alignment_new (0.5, 0.5, 0, 0); - gtk_container_add (GTK_CONTAINER (gw_applet->applet), gw_applet->container); - g_signal_connect (G_OBJECT(gw_applet->applet), "change_orient", G_CALLBACK(change_orient_cb), gw_applet); g_signal_connect (G_OBJECT(gw_applet->applet), "size_allocate", |