Add compatibility code for GtkDialog
This commit is contained in:
parent
f879140893
commit
070d3123bd
|
@ -135,6 +135,10 @@ GtkWidget * gtk_box_new(GtkOrientation orientation, gint spacing);
|
|||
|
||||
GtkWidget * gtk_button_box_new(GtkOrientation orientation);
|
||||
|
||||
# if !GTK_CHECK_VERSION(2, 14, 0)
|
||||
GtkWidget * gtk_dialog_get_content_area(GtkDialog * dialog);
|
||||
# endif
|
||||
|
||||
GtkWidget * gtk_paned_new(GtkOrientation orientation);
|
||||
|
||||
GtkWidget * gtk_scale_new(GtkOrientation orientation,
|
||||
|
|
|
@ -79,6 +79,15 @@ GtkWidget * gtk_button_box_new(GtkOrientation orientation)
|
|||
}
|
||||
|
||||
|
||||
# if !GTK_CHECK_VERSION(2, 14, 0)
|
||||
/* gtk_dialog_get_content_area */
|
||||
GtkWidget * gtk_dialog_get_content_area(GtkDialog * dialog)
|
||||
{
|
||||
return dialog->vbox;
|
||||
}
|
||||
# endif
|
||||
|
||||
|
||||
/* gtk_paned_new */
|
||||
GtkWidget * gtk_paned_new(GtkOrientation orientation)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user