mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 12:55:59 +01:00
Check if page_widget is a GTK_TABLE
This commit is contained in:
parent
234ea6d323
commit
d721721867
1 changed files with 4 additions and 2 deletions
2
config.c
2
config.c
|
@ -52,8 +52,10 @@ cb_page_padding_changed(girara_session_t* session, const char* UNUSED(name),
|
|||
zathura_t* zathura = session->global.data;
|
||||
|
||||
int val = *(int*) value;
|
||||
if (GTK_IS_TABLE(zathura->ui.page_widget) == TRUE) {
|
||||
gtk_table_set_row_spacings(GTK_TABLE(zathura->ui.page_widget), val);
|
||||
gtk_table_set_col_spacings(GTK_TABLE(zathura->ui.page_widget), val);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue