summaryrefslogtreecommitdiff
path: root/gtk/gtkprintunixdialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkprintunixdialog.c')
-rw-r--r--gtk/gtkprintunixdialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index a909fa7961..ac34dbe47a 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -1346,7 +1346,7 @@ setup_page_table (GtkPrinterOptionSet *options,
add_option_to_table,
table);
- nrows = grid_rows (GTK_GRID (page));
+ nrows = grid_rows (GTK_GRID (table));
if (nrows == 1)
gtk_widget_hide (page);
else