]> Pileus Git - ~andy/gtk/commitdiff
printunixdialog: fix a GtkTable->GtkGrid typo
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 24 Oct 2011 20:31:50 +0000 (16:31 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 24 Oct 2011 20:33:00 +0000 (16:33 -0400)
Code was treating the GtkScrolledWindow as a grid, not the grid itself.

gtk/gtkprintunixdialog.c

index a909fa7961be4c9bbfb78651075f069c06d64a54..ac34dbe47a7b21c66070a703ae7045b0b3d12649 100644 (file)
@@ -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