Fix build with Gtk+ < 2.14
This commit is contained in:
parent
2cc30dae83
commit
05fae88f8b
|
@ -435,7 +435,7 @@ void pdfviewer_properties(PDFviewer * pdfviewer)
|
||||||
#if GTK_CHECK_VERSION(2, 14, 0)
|
#if GTK_CHECK_VERSION(2, 14, 0)
|
||||||
vbox = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
|
vbox = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
|
||||||
#else
|
#else
|
||||||
vbox = dialog->vbox;
|
vbox = GTK_DIALOG(dialog)->vbox;
|
||||||
#endif
|
#endif
|
||||||
gtk_box_set_spacing(GTK_BOX(vbox), 4);
|
gtk_box_set_spacing(GTK_BOX(vbox), 4);
|
||||||
/* title */
|
/* title */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user