diff options
Diffstat (limited to 'editors/libreoffice/files/patch-vcl_unx_gtk_fpicker_SalGtkFilePicker.cxx')
-rw-r--r-- | editors/libreoffice/files/patch-vcl_unx_gtk_fpicker_SalGtkFilePicker.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/editors/libreoffice/files/patch-vcl_unx_gtk_fpicker_SalGtkFilePicker.cxx b/editors/libreoffice/files/patch-vcl_unx_gtk_fpicker_SalGtkFilePicker.cxx deleted file mode 100644 index dc2ea8a099df..000000000000 --- a/editors/libreoffice/files/patch-vcl_unx_gtk_fpicker_SalGtkFilePicker.cxx +++ /dev/null @@ -1,18 +0,0 @@ ---- vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx.orig 2017-01-12 00:54:33 UTC -+++ vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx -@@ -436,10 +436,13 @@ dialog_remove_buttons( GtkDialog *pDialo - { - g_return_if_fail( GTK_IS_DIALOG( pDialog ) ); - --#if GTK_CHECK_VERSION(3,0,0) - #if GTK_CHECK_VERSION(3,12,0) -- dialog_remove_buttons(gtk_dialog_get_header_bar(pDialog)); -+ GtkWidget *pHeaderBar = gtk_dialog_get_header_bar( pDialog ); -+ if( pHeaderBar != nullptr ) -+ dialog_remove_buttons( pHeaderBar ); -+ else - #endif -+#if GTK_CHECK_VERSION(2,14,0) - dialog_remove_buttons(gtk_dialog_get_action_area(pDialog)); - #else - dialog_remove_buttons(pDialog->action_area); |