Patch for GtkSeparatorMenuItem macros' typo
- From: Jeff Franks <jcf tpg com au>
- To: gtk-devel-list gnome org
- Subject: Patch for GtkSeparatorMenuItem macros' typo
- Date: Fri, 01 Jun 2001 14:40:23 +1000
Hi,
I have uploaded this patch to bugzilla that fixes several typographical
errors in the GtkSeparatorMenuItem macros. Several times the word
'SEPARATOR' was used where 'CHECK' should have been.
--- patch follows ---
Only in new-gtk+/gtk/.pics/med: tree_minus.xpm
Only in new-gtk+/gtk/.pics/med: tree_plus.xbm
Only in new-gtk+/gtk/.pics/med: tree_plus.xpm
diff -ru gtk+/gtk/gtkseparatormenuitem.h new-gtk+/gtk/gtkseparatormenuitem.h
--- gtk+/gtk/gtkseparatormenuitem.h Fri Jun 1 12:09:36 2001
+++ new-gtk+/gtk/gtkseparatormenuitem.h Fri Jun 1 12:11:24 2001
@@ -37,11 +37,11 @@
#define GTK_TYPE_SEPARATOR_MENU_ITEM
(gtk_separator_menu_item_get_type ())
-#define GTK_SEPARATOR_MENU_ITEM(obj) (GTK_SEPARATOR_CAST
((obj), GTK_TYPE_SEPARATOR_MENU_ITEM, GtkSeparatorMenuItem))
-#define GTK_SEPARATOR_MENU_ITEM_CLASS(klass)
(GTK_SEPARATOR_CLASS_CAST ((klass), GTK_TYPE_SEPARATOR_MENU_ITEM,
GtkSeparatorMenuItemClass))
-#define GTK_IS_SEPARATOR_MENU_ITEM(obj) (GTK_SEPARATOR_TYPE
((obj), GTK_TYPE_SEPARATOR_MENU_ITEM))
-#define GTK_IS_SEPARATOR_MENU_ITEM_CLASS(klass)
(GTK_SEPARATOR_CLASS_TYPE ((klass), GTK_TYPE_SEPARATOR_MENU_ITEM))
-#define GTK_SEPARATOR_MENU_ITEM_GET_CLASS(obj)
(GTK_SEPARATOR_GET_CLASS ((obj), GTK_TYPE_SEPARATOR_MENU_ITEM,
GtkSeparatorMenuItemClass))
+#define GTK_SEPARATOR_MENU_ITEM(obj) (GTK_CHECK_CAST ((obj),
GTK_TYPE_SEPARATOR_MENU_ITEM, GtkSeparatorMenuItem))
+#define GTK_SEPARATOR_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST
((klass), GTK_TYPE_SEPARATOR_MENU_ITEM, GtkSeparatorMenuItemClass))
+#define GTK_IS_SEPARATOR_MENU_ITEM(obj) (GTK_CHECK_TYPE ((obj),
GTK_TYPE_SEPARATOR_MENU_ITEM))
+#define GTK_IS_SEPARATOR_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE
((klass), GTK_TYPE_SEPARATOR_MENU_ITEM))
+#define GTK_SEPARATOR_MENU_ITEM_GET_CLASS(obj) (GTK_CHECK_GET_CLASS
((obj), GTK_TYPE_SEPARATOR_MENU_ITEM, GtkSeparatorMenuItemClass))
typedef struct _GtkSeparatorMenuItem GtkSeparatorMenuItem;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]