vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit b6d31d5a1897834b84477f32cdb2331e426d4c70 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Jun 19 14:28:47 2015 +0100 gtk3: gtk_dialog_get_header_bar new in 3.12 Change-Id: Ifc63714b6b9e797b668cccc46052cb9d791122ea diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx index 89aa94e..db1a1fe 100644 --- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx +++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx @@ -425,8 +425,12 @@ dialog_remove_buttons( GtkDialog *pDialog ) GtkWidget *pActionArea; #if GTK_CHECK_VERSION(3,0,0) +#if GTK_CHECK_VERSION(3,12,0) pActionArea = gtk_dialog_get_header_bar(pDialog); #else + pActionArea = gtk_dialog_get_action_area(pDialog); +#endif +#else pActionArea = pDialog->action_area; #endif
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits