diff options
author | raveit65 <[email protected]> | 2024-01-28 02:53:56 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2024-02-04 18:37:58 +0100 |
commit | e663fbaeba760003b4088e567af0883534891e59 (patch) | |
tree | fd7b6805cc5d0e022f526e6343bb2539aa12f54e /applets/notification_area/na-grid.c | |
parent | 6a9848eb8388807d13c38cdaceabfc143f6640aa (diff) | |
download | mate-panel-e663fbaeba760003b4088e567af0883534891e59.tar.bz2 mate-panel-e663fbaeba760003b4088e567af0883534891e59.tar.xz |
Revert "Reduce scope of variables"
This reverts commit 96c7ebc6dc9e8b8327db04a9570054ee78743353.
Diffstat (limited to 'applets/notification_area/na-grid.c')
-rw-r--r-- | applets/notification_area/na-grid.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/applets/notification_area/na-grid.c b/applets/notification_area/na-grid.c index 9a4c45d9..9698be6c 100644 --- a/applets/notification_area/na-grid.c +++ b/applets/notification_area/na-grid.c @@ -317,6 +317,8 @@ na_grid_realize (GtkWidget *widget) NaGrid *self = NA_GRID (widget); GdkScreen *screen; GdkDisplay *display; + GtkOrientation orientation; + NaHost *tray_host; GSettings *settings; GTK_WIDGET_CLASS (na_grid_parent_class)->realize (widget); @@ -326,9 +328,6 @@ na_grid_realize (GtkWidget *widget) screen = gtk_widget_get_screen (GTK_WIDGET (self)); if (GDK_IS_X11_DISPLAY (display)) { - GtkOrientation orientation; - NaHost *tray_host; - orientation = gtk_orientable_get_orientation (GTK_ORIENTABLE (self)); tray_host = na_tray_new_for_screen (screen, orientation); g_object_bind_property (self, "orientation", |