From 8b02bc96f1e48a5dbcc459c8898464a891c01e0e Mon Sep 17 00:00:00 2001 From: Monsta Date: Thu, 26 Feb 2015 11:27:03 +0300 Subject: stickynotes: fix indentation a bit --- stickynotes/stickynotes.c | 44 ++++++++++++++++++++++---------------------- 1 file 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. */ -- cgit v1.2.1