summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-01-27 15:12:33 +0100
committerZenWalker <[email protected]>2020-01-27 22:15:49 +0100
commit3aaa9f0e9105f28d0e82a64ff1e9b2cd1bf30d75 (patch)
tree37a92a00222ab30f39cba9947db0bbc04a6e2acc
parentcf7f2bb74f74375e971687c13d58363562337c7c (diff)
downloadlibmatekbd-3aaa9f0e9105f28d0e82a64ff1e9b2cd1bf30d75.tar.bz2
libmatekbd-3aaa9f0e9105f28d0e82a64ff1e9b2cd1bf30d75.tar.xz
matekbd-util: Local variables shadow outer variables
-rw-r--r--libmatekbd/matekbd-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmatekbd/matekbd-util.c b/libmatekbd/matekbd-util.c
index 761e428..7cb09ca 100644
--- a/libmatekbd/matekbd-util.c
+++ b/libmatekbd/matekbd-util.c
@@ -80,8 +80,8 @@ matekbd_preview_load_position (void)
/* default values should be treated as
* "0.75 of the screen size" */
GdkScreen *scr = gdk_screen_get_default ();
- gint w = WidthOfScreen (gdk_x11_screen_get_xscreen (scr));
- gint h = HeightOfScreen (gdk_x11_screen_get_xscreen (scr));
+ w = WidthOfScreen (gdk_x11_screen_get_xscreen (scr));
+ h = HeightOfScreen (gdk_x11_screen_get_xscreen (scr));
rv->x = w >> 3;
rv->y = h >> 3;
rv->width = w - (w >> 2);