[gtk+] printunixdialog: fix a GtkTable->GtkGrid typo
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] printunixdialog: fix a GtkTable->GtkGrid typo
- Date: Mon, 24 Oct 2011 20:33:16 +0000 (UTC)
commit 99266c4ceb188da9f365a9a1f6700fd7272041df
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Oct 24 16:31:50 2011 -0400
printunixdialog: fix a GtkTable->GtkGrid typo
Code was treating the GtkScrolledWindow as a grid, not the grid itself.
gtk/gtkprintunixdialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index a909fa7..ac34dbe 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]