[gtk+] docs: Make infobar code example use GtkGrid instead of GtkTable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: Make infobar code example use GtkGrid instead of GtkTable
- Date: Wed, 28 Sep 2011 23:55:30 +0000 (UTC)
commit 80462c7cfd667421c3efdb37afa0befc486c25ca
Author: Benjamin Otte <otte redhat com>
Date: Thu Sep 29 01:06:21 2011 +0200
docs: Make infobar code example use GtkGrid instead of GtkTable
gtk/gtkinfobar.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index 87f6d3b..7972605 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -87,11 +87,9 @@
* GTK_STOCK_OK, GTK_RESPONSE_OK);
* g_signal_connect (info_bar, "response",
* G_CALLBACK (gtk_widget_hide), NULL);
- * gtk_table_attach (GTK_TABLE (table),
- * info_bar,
- * 0, 1, 2, 3,
- * GTK_EXPAND | GTK_FILL, 0,
- * 0, 0);
+ * gtk_grid_attach (GTK_GRID (grid),
+ * info_bar,
+ * 0, 2, 1, 1);
*
* /* ... */
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]