[gtk+] Remove latest bits of GtkItemFactory



commit 03df034684934778135cb11d50d8ec42c15ca342
Author: Javier Jardón <javier jardon codethink co uk>
Date:   Fri Feb 4 16:58:59 2011 +0000

    Remove latest bits of GtkItemFactory

 docs/reference/gtk/objects_grouped.sgml |    1 -
 examples/menu/Makefile                  |    9 +-
 examples/menu/itemfactory.c             |  176 -------------------------------
 gtk/gtkaccelgroup.c                     |    7 +-
 gtk/gtkaccellabel.c                     |    2 +-
 5 files changed, 7 insertions(+), 188 deletions(-)
---
diff --git a/docs/reference/gtk/objects_grouped.sgml b/docs/reference/gtk/objects_grouped.sgml
index 9b0c95b..78dc95b 100644
--- a/docs/reference/gtk/objects_grouped.sgml
+++ b/docs/reference/gtk/objects_grouped.sgml
@@ -127,7 +127,6 @@
 
 <emphasis>Misc. Objects</emphasis>
     <link linkend="GtkAdjustment">GtkAdjustment</link>
-    <link linkend="GtkItemFactory">GtkItemFactory</link>
     <link linkend="GtkInvisible">GtkInvisible</link>
 </literallayout></entry>
 
diff --git a/examples/menu/Makefile b/examples/menu/Makefile
index 1ce3218..0ed6adb 100644
--- a/examples/menu/Makefile
+++ b/examples/menu/Makefile
@@ -6,13 +6,10 @@ CFLAGS = -Wall			 	\
 	-DGDK_DISABLE_DEPRECATED 	\
 	-DGDK_PIXBUF_DISABLE_DEPRECATED
 
-all: menu itemfactory
+all: menu
 
 menu: menu.c 
-	$(CC) menu.c -o menu $(CFLAGS) `pkg-config gtk+-2.0 --cflags --libs`
-
-itemfactory: itemfactory.c
-	$(CC) itemfactory.c -o itemfactory $(CFLAGS) `pkg-config gtk+-2.0 --cflags --libs`
+	$(CC) menu.c -o menu $(CFLAGS) `pkg-config gtk+-3.0 --cflags --libs`
 
 clean: 
-	rm -f *.o menu itemfactory
+	rm -f *.o menu
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c
index a036005..7f09e67 100644
--- a/gtk/gtkaccelgroup.c
+++ b/gtk/gtkaccelgroup.c
@@ -47,10 +47,9 @@
  * A #GtkAccelGroup represents a group of keyboard accelerators,
  * typically attached to a toplevel #GtkWindow (with
  * gtk_window_add_accel_group()). Usually you won't need to create a
- * #GtkAccelGroup directly; instead, when using #GtkItemFactory, GTK+
- * automatically sets up the accelerators for your menus in the item
- * factory's #GtkAccelGroup.
- * 
+ * #GtkAccelGroup directly; instead, when using #GtkUIManager, GTK+
+ * automatically sets up the accelerators for your menus in the ui
+ * manager's #GtkAccelGroup.
  * 
  * Note that <firstterm>accelerators</firstterm> are different from
  * <firstterm>mnemonics</firstterm>. Accelerators are shortcuts for
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c
index e373542..e354d27 100644
--- a/gtk/gtkaccellabel.c
+++ b/gtk/gtkaccellabel.c
@@ -41,7 +41,7 @@
  * SECTION:gtkaccellabel
  * @Short_description: A label which displays an accelerator key on the right of the text
  * @Title: GtkAccelLabel
- * @See_also: #GtkItemFactory, #GtkAccelGroup
+ * @See_also: #GtkAccelGroup
  *
  * The #GtkAccelLabel widget is a subclass of #GtkLabel that also displays an
  * accelerator key on the right of the label text, e.g. 'Ctl+S'.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]