Skip to content
Permalink
Browse files

weather-applet: replace deprecated GtkAlignment

  • Loading branch information...
raveit65 authored and lukefromdc committed Jul 7, 2018
1 parent f4221be commit 2c31e38596baf0faca1da8ac880479b4192be86a
Showing with 1 addition and 4 deletions.
  1. +1 −4 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",

0 comments on commit 2c31e38

Please sign in to comment.
You can’t perform that action at this time.