summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-02-26 11:27:03 +0300
committerStefano Karapetsas <[email protected]>2015-03-15 18:58:51 +0100
commit8b02bc96f1e48a5dbcc459c8898464a891c01e0e (patch)
tree40fd20cf24acf9273488b79fec85b93ea222d48c
parentf249c390756b84c888ee3d13556933a008eac715 (diff)
downloadmate-applets-8b02bc96f1e48a5dbcc459c8898464a891c01e0e.tar.bz2
mate-applets-8b02bc96f1e48a5dbcc459c8898464a891c01e0e.tar.xz
stickynotes: fix indentation a bit
-rw-r--r--stickynotes/stickynotes.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c
index 2e48aadf..8e6d8de6 100644
--- a/stickynotes/stickynotes.c
+++ b/stickynotes/stickynotes.c
@@ -47,29 +47,29 @@ static void response_cb (GtkWidget *dialog, gint id, gpointer data);
/* Based on a function found in wnck */
static void
-set_icon_geometry (GdkWindow *window,
- int x,
- int y,
- int width,
- int height)
+set_icon_geometry (GdkWindow *window,
+ int x,
+ int y,
+ int width,
+ int height)
{
- gulong data[4];
- Display *dpy;
-
- dpy = gdk_x11_display_get_xdisplay (gdk_window_get_display (window));
-
- data[0] = x;
- data[1] = y;
- data[2] = width;
- data[3] = height;
-
- XChangeProperty (dpy,
- GDK_WINDOW_XID (window),
- gdk_x11_get_xatom_by_name_for_display (
- gdk_window_get_display (window),
- "_NET_WM_ICON_GEOMETRY"),
- XA_CARDINAL, 32, PropModeReplace,
- (guchar *)&data, 4);
+ gulong data[4];
+ Display *dpy;
+
+ dpy = gdk_x11_display_get_xdisplay (gdk_window_get_display (window));
+
+ data[0] = x;
+ data[1] = y;
+ data[2] = width;
+ data[3] = height;
+
+ XChangeProperty (dpy,
+ GDK_WINDOW_XID (window),
+ gdk_x11_get_xatom_by_name_for_display (
+ gdk_window_get_display (window),
+ "_NET_WM_ICON_GEOMETRY"),
+ XA_CARDINAL, 32, PropModeReplace,
+ (guchar *)&data, 4);
}
/* Called when a timeout occurs. */