]> git.mdlowis.com Git - proto/labwc.git/commitdiff
button: move button-png.c to button/
authorJohan Malm <jgm323@gmail.com>
Thu, 10 Aug 2023 14:57:20 +0000 (15:57 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 10 Aug 2023 15:33:03 +0000 (16:33 +0100)
...so that all button code is in the same place.

include/button/button-png.h [moved from include/button-png.h with 100% similarity]
src/button/button-png.c [moved from src/button-png.c with 98% similarity]
src/button/meson.build
src/meson.build
src/theme.c

similarity index 98%
rename from src/button-png.c
rename to src/button/button-png.c
index 8602391ce88597062c99c4af094c8e89c95cfe77..399f988ba626de0dbd81262708cee052ec7e1dce 100644 (file)
@@ -11,7 +11,7 @@
 #include <sys/stat.h>
 #include <wlr/util/log.h>
 #include "buffer.h"
-#include "button-png.h"
+#include "button/button-png.h"
 #include "common/dir.h"
 #include "labwc.h"
 #include "theme.h"
index cf7b3d1fedb900586fa062c03e9955c49cec85da..4d738895494c6d943c195475f506563bd03cea3f 100644 (file)
@@ -1,3 +1,4 @@
 labwc_sources += files(
+  'button-png.c',
   'button-xbm.c',
 )
index 292eb6754c00bbf2ac96a3910e3458f8986e196f..58dfacf3cb3eb15e50d55d61aef0d01bde8bf2a1 100644 (file)
@@ -15,7 +15,6 @@ labwc_sources = files(
   'node.c',
   'osd.c',
   'output.c',
-  'button-png.c',
   'regions.c',
   'resistance.c',
   'seat.c',
index 3ff96f67afd6fb3ec31a86bf65110c6d0b079914..30d50ebe7cdd5045bffd325405bd5a4eb72e9030 100644 (file)
@@ -24,7 +24,7 @@
 #include "common/match.h"
 #include "common/string-helpers.h"
 #include "config/rcxml.h"
-#include "button-png.h"
+#include "button/button-png.h"
 #include "button/button-xbm.h"
 #include "theme.h"
 #include "buffer.h"