[Xfce4-commits] [xfce/xfce4-settings] 14/27: Fixed indentation
noreply at xfce.org
noreply at xfce.org
Sun Feb 25 23:56:23 CET 2018
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 2
in repository xfce/xfce4-settings.
commit 6d67a79ca11f67f3bd07a19ffb1918b87d956de8
Author: Florian Schüller <florian.schueller at gmail.com>
Date: Sat Feb 24 00:09:28 2018 +0100
Fixed indentation
---
.editorconfig | 16 ++++++++++++++++
dialogs/accessibility-settings/find-cursor.c | 24 ++++++++++++------------
2 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..35b3c55
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+insert_final_newline = true
+indent_style = space
+indent_size = 4
+
+# Tab indentation (no size specified)
+[Makefile*]
+indent_style = tab
+
diff --git a/dialogs/accessibility-settings/find-cursor.c b/dialogs/accessibility-settings/find-cursor.c
index 83bc45a..194363a 100644
--- a/dialogs/accessibility-settings/find-cursor.c
+++ b/dialogs/accessibility-settings/find-cursor.c
@@ -50,18 +50,18 @@ gboolean timeout (gpointer data)
static GdkPixbuf
*get_rectangle_screenshot (gint x, gint y, GtkWidget *widget)
{
- GdkPixbuf *screenshot = NULL;
- GdkWindow *root_window = gdk_get_default_root_window ();
- GdkColormap *colormap = gdk_colormap_get_system();
-
- screenshot =
- gdk_pixbuf_get_from_drawable (NULL, root_window, colormap,
- x,
- y,
- 0, 0,
- 500,
- 500);
- return screenshot;
+ GdkPixbuf *screenshot = NULL;
+ GdkWindow *root_window = gdk_get_default_root_window ();
+ GdkColormap *colormap = gdk_colormap_get_system();
+
+ screenshot =
+ gdk_pixbuf_get_from_drawable (NULL, root_window, colormap,
+ x,
+ y,
+ 0, 0,
+ 500,
+ 500);
+ return screenshot;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list