summaryrefslogtreecommitdiff
path: root/gtk/gtkprintunixdialog.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-10-24 16:31:50 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2011-10-24 16:33:00 -0400
commit99266c4ceb188da9f365a9a1f6700fd7272041df (patch)
treed71e8a142e02607d90f4872649ecd9c3e82e0973 /gtk/gtkprintunixdialog.c
parentcd91ab9761b3de45ab55b622154a71ad9fd5eca8 (diff)
downloadgtk+-99266c4ceb188da9f365a9a1f6700fd7272041df.tar.gz
printunixdialog: fix a GtkTable->GtkGrid typo
Code was treating the GtkScrolledWindow as a grid, not the grid itself.
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