[gnome-panel/wip-format: 13/18] multiscreen: reformat code
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip-format: 13/18] multiscreen: reformat code
- Date: Tue, 25 Feb 2020 19:48:46 +0000 (UTC)
commit 4e329d4e8440f50e3b8d53aca2412ad55ea1b9f5
Author: Sebastian Geiger <sbastig gmx net>
Date: Tue Feb 25 20:45:17 2020 +0100
multiscreen: reformat code
gnome-panel/panel-multiscreen.c | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/gnome-panel/panel-multiscreen.c b/gnome-panel/panel-multiscreen.c
index d8cac24aa..e49258912 100644
--- a/gnome-panel/panel-multiscreen.c
+++ b/gnome-panel/panel-multiscreen.c
@@ -470,25 +470,26 @@ panel_multiscreen_init (void)
static void
panel_multiscreen_reinit (void)
{
- GdkScreen *screen;
- GList *toplevels, *l;
+ GdkScreen *screen;
+ GList *toplevels, *l;
- if (monitor_geometries) {
- g_free (monitor_geometries);
- }
+ if (monitor_geometries)
+ {
+ g_free (monitor_geometries);
+ }
- screen = gdk_screen_get_default ();
- g_signal_handlers_disconnect_by_func (screen, panel_multiscreen_queue_reinit, NULL);
+ screen = gdk_screen_get_default ();
+ g_signal_handlers_disconnect_by_func (screen, panel_multiscreen_queue_reinit, NULL);
- initialized = FALSE;
- panel_multiscreen_init ();
+ initialized = FALSE;
+ panel_multiscreen_init ();
- toplevels = gtk_window_list_toplevels ();
+ toplevels = gtk_window_list_toplevels ();
- for (l = toplevels; l; l = l->next)
- gtk_widget_queue_resize (l->data);
+ for (l = toplevels; l; l = l->next)
+ gtk_widget_queue_resize (l->data);
- g_list_free (toplevels);
+ g_list_free (toplevels);
}
int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]