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)
|
||||
vbox = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
|
||||
#else
|
||||
vbox = dialog->vbox;
|
||||
vbox = GTK_DIALOG(dialog)->vbox;
|
||||
#endif
|
||||
gtk_box_set_spacing(GTK_BOX(vbox), 4);
|
||||
/* title */
|
||||
|
|
Loading…
Reference in New Issue
Block a user