diff options
author | tnn <tnn@pkgsrc.org> | 2010-02-01 14:29:43 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2010-02-01 14:29:43 +0000 |
commit | 4629b14edbbf6b4ad36b5a7ec96aaae3db584d34 (patch) | |
tree | e6d8f47ea1fe603ab05d63a2e6decbfec704227c /wm/obconf/patches | |
parent | 3c505c9ef6a7b1cb4ff862274fbf002584298656 (diff) | |
download | pkgsrc-4629b14edbbf6b4ad36b5a7ec96aaae3db584d34.tar.gz |
patch-ab: merge fix for upstream bug 3285.
Closes our PR pkg/42713 (obconf segfaults on startup)
Ride previous bump.
Diffstat (limited to 'wm/obconf/patches')
-rw-r--r-- | wm/obconf/patches/patch-ab | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/wm/obconf/patches/patch-ab b/wm/obconf/patches/patch-ab new file mode 100644 index 00000000000..92bceac77d5 --- /dev/null +++ b/wm/obconf/patches/patch-ab @@ -0,0 +1,30 @@ +$NetBSD: patch-ab,v 1.1 2010/02/01 14:29:43 tnn Exp $ + +--- src/preview_update.c.orig 2010-02-01 14:24:52.000000000 +0000 ++++ src/preview_update.c +@@ -1,4 +1,5 @@ + #include "preview_update.h" ++#include "preview.h" + #include "main.h" + + static gboolean restart_theme_preview_update = TRUE; +@@ -87,6 +88,7 @@ void preview_update_set_title_layout(con + static gboolean update_theme_preview_iterate(gpointer data) + { + GtkListStore *ls = data; ++ GdkPixbuf *preview; + static GtkTreeIter iter; + gchar *name; + +@@ -125,6 +127,11 @@ static gboolean update_theme_preview_ite + inactive_window_font, menu_title_font, + menu_item_font, osd_font), + -1); ++ preview = preview_theme(name, title_layout, active_window_font, ++ inactive_window_font, menu_title_font, ++ menu_item_font, osd_font); ++ if (preview) ++ gtk_list_store_set(GTK_LIST_STORE(ls), &iter, 1, preview, -1); + + return TRUE; + } |