[gnome-panel/wip-format: 14/18] multiscreen: reformat code
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip-format: 14/18] multiscreen: reformat code
- Date: Tue, 25 Feb 2020 19:48:51 +0000 (UTC)
commit e90abc7132cfa8627f8872d5240f4ff6e8520651
Author: Sebastian Geiger <sbastig gmx net>
Date: Tue Feb 25 11:51:42 2020 +0100
multiscreen: reformat code
gnome-panel/panel-multiscreen.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gnome-panel/panel-multiscreen.c b/gnome-panel/panel-multiscreen.c
index e49258912..a8414b882 100644
--- a/gnome-panel/panel-multiscreen.c
+++ b/gnome-panel/panel-multiscreen.c
@@ -531,16 +531,16 @@ panel_multiscreen_height (GdkScreen *screen,
int
panel_multiscreen_locate_widget_monitor (GtkWidget *widget)
{
- GtkWidget *toplevel;
- int retval = -1;
+ GtkWidget *toplevel;
+ int retval = -1;
- toplevel = gtk_widget_get_toplevel (widget);
- if (!toplevel)
- return -1;
-
- g_object_get (toplevel, "monitor", &retval, NULL);
+ toplevel = gtk_widget_get_toplevel (widget);
+ if (!toplevel)
+ return -1;
+
+ g_object_get (toplevel, "monitor", &retval, NULL);
- return retval;
+ return retval;
}
static int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]