diff options
author | Matteo Bernardini | 2021-02-27 11:29:41 +0100 |
---|---|---|
committer | Matteo Bernardini | 2021-02-27 11:29:41 +0100 |
commit | 3e512aae2bdd9aff3a4ba418b7de58debeb48c7e (patch) | |
tree | bb633b832334a8634697701d29af0cf5343c9779 /desktop/wmakerconf/patches/patch-src_window.c | |
parent | 9aa1498acb0841d4ce656319a4de5cc157b4e2ed (diff) | |
download | slackbuilds-3e512aae2bdd9aff3a4ba418b7de58debeb48c7e.tar.gz |
20210227.1 global branch merge.current-20210227.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/wmakerconf/patches/patch-src_window.c')
-rw-r--r-- | desktop/wmakerconf/patches/patch-src_window.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/desktop/wmakerconf/patches/patch-src_window.c b/desktop/wmakerconf/patches/patch-src_window.c new file mode 100644 index 0000000000..9ab84dc4c5 --- /dev/null +++ b/desktop/wmakerconf/patches/patch-src_window.c @@ -0,0 +1,20 @@ +--- src/window.c.orig 2004-07-22 03:09:55 UTC ++++ src/window.c +@@ -898,7 +898,7 @@ make_pixmap (const char *name, int width, int height, + gdk_imlib_render (image, max (width, 22), max (height, 22)); + pixmap = gdk_imlib_move_image (image); + mask = gdk_imlib_move_mask (image); +- if (strchr (g_basename (path), '.')) /* don't cache x-of-day */ ++ if (strchr (g_path_get_basename (path), '.')) /* don't cache x-of-day */ + gdk_imlib_destroy_image (image); + else + gdk_imlib_kill_image (image); +@@ -1069,7 +1069,7 @@ save_config_file (GtkWidget *widget, gpointer ptr) + WMReleasePropList (all_keys); + } + +- if (WMWritePropListToFile (newwm, orig_wmaker_fname, YES)) ++ if (WMWritePropListToFile (newwm, orig_wmaker_fname)) + { + changed = NO; + message (_("Window Maker config file '%s' saved."), |