Kaydet (Commit) 608ca78f authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Andras Timar

gtk3: gtk_dialog_get_header_bar new in 3.12

Change-Id: Ifc63714b6b9e797b668cccc46052cb9d791122ea
(cherry picked from commit b6d31d5a)
üst 79eca324
...@@ -425,7 +425,11 @@ dialog_remove_buttons( GtkDialog *pDialog ) ...@@ -425,7 +425,11 @@ dialog_remove_buttons( GtkDialog *pDialog )
GtkWidget *pActionArea; GtkWidget *pActionArea;
#if GTK_CHECK_VERSION(3,0,0) #if GTK_CHECK_VERSION(3,0,0)
#if GTK_CHECK_VERSION(3,12,0)
pActionArea = gtk_dialog_get_header_bar(pDialog); pActionArea = gtk_dialog_get_header_bar(pDialog);
#else
pActionArea = gtk_dialog_get_action_area(pDialog);
#endif
#else #else
pActionArea = pDialog->action_area; pActionArea = pDialog->action_area;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment