Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/x11-wm/wmakerconf/files/patch-src_window.c
19289 views
1
--- src/window.c.orig 2004-07-22 03:09:55 UTC
2
+++ src/window.c
3
@@ -898,7 +898,7 @@ make_pixmap (const char *name, int width, int height,
4
gdk_imlib_render (image, max (width, 22), max (height, 22));
5
pixmap = gdk_imlib_move_image (image);
6
mask = gdk_imlib_move_mask (image);
7
- if (strchr (g_basename (path), '.')) /* don't cache x-of-day */
8
+ if (strchr (g_path_get_basename (path), '.')) /* don't cache x-of-day */
9
gdk_imlib_destroy_image (image);
10
else
11
gdk_imlib_kill_image (image);
12
@@ -1069,7 +1069,7 @@ save_config_file (GtkWidget *widget, gpointer ptr)
13
WMReleasePropList (all_keys);
14
}
15
16
- if (WMWritePropListToFile (newwm, orig_wmaker_fname, YES))
17
+ if (WMWritePropListToFile (newwm, orig_wmaker_fname))
18
{
19
changed = NO;
20
message (_("Window Maker config file '%s' saved."),
21
22