Path: blob/main/x11-wm/wmakerconf/files/patch-src_window.c
19289 views
--- src/window.c.orig 2004-07-22 03:09:55 UTC1+++ src/window.c2@@ -898,7 +898,7 @@ make_pixmap (const char *name, int width, int height,3gdk_imlib_render (image, max (width, 22), max (height, 22));4pixmap = gdk_imlib_move_image (image);5mask = gdk_imlib_move_mask (image);6- if (strchr (g_basename (path), '.')) /* don't cache x-of-day */7+ if (strchr (g_path_get_basename (path), '.')) /* don't cache x-of-day */8gdk_imlib_destroy_image (image);9else10gdk_imlib_kill_image (image);11@@ -1069,7 +1069,7 @@ save_config_file (GtkWidget *widget, gpointer ptr)12WMReleasePropList (all_keys);13}1415- if (WMWritePropListToFile (newwm, orig_wmaker_fname, YES))16+ if (WMWritePropListToFile (newwm, orig_wmaker_fname))17{18changed = NO;19message (_("Window Maker config file '%s' saved."),202122