summaryrefslogtreecommitdiffstats
path: root/desktop/wmakerconf/patches/patch-src_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmakerconf/patches/patch-src_window.c')
-rw-r--r--desktop/wmakerconf/patches/patch-src_window.c20
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."),