diff options
author | Edward W. Koenig <kingbeowulf{at}gmail{dot}com> | 2017-07-10 09:01:58 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-07-12 16:39:19 +0100 |
commit | 9f34af4e91a50c25a8506636b52c6702b3bdd4d5 (patch) | |
tree | 709d87ade3d8bd82605a3b7b8c6a1acd6531e645 /system/xarchiver/gtk_fix.diff | |
parent | 9212ab5d2e55619ecc39e2634b6535373e915016 (diff) |
system/xarchiver: Updated for version 0.5.4.11.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/xarchiver/gtk_fix.diff')
-rw-r--r-- | system/xarchiver/gtk_fix.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/system/xarchiver/gtk_fix.diff b/system/xarchiver/gtk_fix.diff new file mode 100644 index 0000000000..7adedfe347 --- /dev/null +++ b/system/xarchiver/gtk_fix.diff @@ -0,0 +1,30 @@ +diff --git a/src/open-with-dlg.c b/src/open-with-dlg.c +index 0f42632..462b805 100644 +--- a/src/open-with-dlg.c ++++ b/src/open-with-dlg.c +@@ -119,7 +119,7 @@ static gboolean xa_open_with_dialog_mouse_button_event (GtkWidget *widget, GdkEv + return FALSE; + } + +-static void xa_destroy_open_with_dialog (GtkObject *object, Open_with_data *data) ++static void xa_destroy_open_with_dialog (GTK_COMPAT_DESTROY_TYPE object, Open_with_data *data) + { + g_free(data->files); + g_slist_foreach(data->apps, (GFunc) xa_app_free, NULL); +diff --git a/src/support.h b/src/support.h +index 0f1d737..3f804e0 100644 +--- a/src/support.h ++++ b/src/support.h +@@ -160,10 +160,12 @@ static inline void gtk_combo_box_text_remove (GtkWidget *combo_box, gint positio + + #if GTK_CHECK_VERSION(3,0,0) + #define GTK_COMPAT_ADJUSTMENT_TYPE GtkAdjustment * ++#define GTK_COMPAT_DESTROY_TYPE GtkWidget * + #undef GTK_COMPAT_SWITCH_PAGE_TYPE + #define GTK_COMPAT_SWITCH_PAGE_TYPE GtkWidget * + #else + #define GTK_COMPAT_ADJUSTMENT_TYPE GtkObject * ++#define GTK_COMPAT_DESTROY_TYPE GtkObject * + #endif + + #endif |