[gnome-panel] notification-area: don't use deprecated GtkAlignment
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] notification-area: don't use deprecated GtkAlignment
- Date: Mon, 24 Nov 2014 03:36:00 +0000 (UTC)
commit 4367578c2c49a5c892f59a70d1a627e1931df871
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Nov 24 05:30:03 2014 +0200
notification-area: don't use deprecated GtkAlignment
applets/notification_area/na-tray.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/applets/notification_area/na-tray.c b/applets/notification_area/na-tray.c
index dfc8f75..b7751b5 100644
--- a/applets/notification_area/na-tray.c
+++ b/applets/notification_area/na-tray.c
@@ -46,7 +46,6 @@ struct _NaTrayPrivate
TraysScreen *trays_screen;
GtkWidget *box;
- GtkWidget *frame;
guint idle_redraw_id;
@@ -551,14 +550,10 @@ na_tray_init (NaTray *tray)
priv->screen = NULL;
priv->orientation = GTK_ORIENTATION_HORIZONTAL;
- priv->frame = gtk_alignment_new (0.5, 0.5, 1.0, 1.0);
- gtk_container_add (GTK_CONTAINER (tray), priv->frame);
- gtk_widget_show (priv->frame);
-
priv->box = gtk_box_new (priv->orientation, ICON_SPACING);
g_signal_connect (priv->box, "draw",
G_CALLBACK (na_tray_draw_box), NULL);
- gtk_container_add (GTK_CONTAINER (priv->frame), priv->box);
+ gtk_container_add (GTK_CONTAINER (tray), priv->box);
gtk_widget_show (priv->box);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]