diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-19 14:28:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-19 14:29:04 +0100 |
commit | b6d31d5a1897834b84477f32cdb2331e426d4c70 (patch) | |
tree | 63c189d9b0e8b8a7629f264d8843a75da87c7bd2 | |
parent | 0032fc0385679d15992fb1a2e8dc0ff1c228c911 (diff) |
gtk3: gtk_dialog_get_header_bar new in 3.12
Change-Id: Ifc63714b6b9e797b668cccc46052cb9d791122ea
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx index 89aa94e00348..db1a1feb0860 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 |