slackbuilds_ponce/desktop/wmcliphist/gtk_assert.diff
B. Watson 33b2839bd3 desktop/wmcliphist: Updated for version 2.1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
2017-03-04 07:26:33 +07:00

22 lines
939 B
Diff

diff -Naur dockapps/gui.c dockapps.patched/gui.c
--- dockapps/gui.c 2017-02-25 03:58:36.637396483 -0500
+++ dockapps.patched/gui.c 2017-02-25 04:04:34.568392242 -0500
@@ -173,7 +173,6 @@
history_items = g_list_remove_link(history_items, list_node);
gtk_container_remove(GTK_CONTAINER(hist_item->menu),
hist_item->menu_item);
- gtk_widget_destroy(hist_item->menu_item);
g_free(hist_item->content);
g_free(hist_item);
g_list_free_1(list_node);
diff -Naur dockapps/history.c dockapps.patched/history.c
--- dockapps/history.c 2014-11-23 09:59:59.000000000 -0500
+++ dockapps.patched/history.c 2017-02-25 04:12:31.276386594 -0500
@@ -362,7 +362,6 @@
hist_item = (HISTORY_ITEM *)list_node->data;
gtk_container_remove(GTK_CONTAINER(hist_item->menu),
hist_item->menu_item);
- gtk_widget_destroy(hist_item->menu_item);
g_free(hist_item->content);
g_free(hist_item);
list_node = g_list_previous(list_node);