summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Neumann <sven@gimp.org>2002-01-15 11:20:00 +0000
committerSven Neumann <neo@src.gnome.org>2002-01-15 11:20:00 +0000
commit29ccea0889baa7505381fee6bc0ad136ad396ced (patch)
treef1688580b59d097cd8f6f92563aba613d477de56
parent57fa80a0ff049e4ed18737971373202caa264920 (diff)
downloadgtk+-29ccea0889baa7505381fee6bc0ad136ad396ced.tar.gz
gtk/gtkaccellabel.h fixed documentation by syncing the parameter names
2002-01-15 Sven Neumann <sven@gimp.org> * gtk/gtkaccellabel.h * gtk/gtkitemfactory.c: fixed documentation by syncing the parameter names used in headers and code.
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-06
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-26
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--gtk/gtkaccellabel.h2
-rw-r--r--gtk/gtkitemfactory.c27
9 files changed, 58 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 0859dd6b80..5c68f49b71 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-01-15 Sven Neumann <sven@gimp.org>
+
+ * gtk/gtkaccellabel.h
+ * gtk/gtkitemfactory.c: fixed documentation by syncing the parameter
+ names used in headers and code.
+
2002-01-14 jacob berkman <jacob@ximian.com>
* gtk/gtkrc.c (gtk_rc_get_im_module_path): close a comment block
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 0859dd6b80..5c68f49b71 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,9 @@
+2002-01-15 Sven Neumann <sven@gimp.org>
+
+ * gtk/gtkaccellabel.h
+ * gtk/gtkitemfactory.c: fixed documentation by syncing the parameter
+ names used in headers and code.
+
2002-01-14 jacob berkman <jacob@ximian.com>
* gtk/gtkrc.c (gtk_rc_get_im_module_path): close a comment block
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 0859dd6b80..5c68f49b71 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,9 @@
+2002-01-15 Sven Neumann <sven@gimp.org>
+
+ * gtk/gtkaccellabel.h
+ * gtk/gtkitemfactory.c: fixed documentation by syncing the parameter
+ names used in headers and code.
+
2002-01-14 jacob berkman <jacob@ximian.com>
* gtk/gtkrc.c (gtk_rc_get_im_module_path): close a comment block
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 0859dd6b80..5c68f49b71 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,9 @@
+2002-01-15 Sven Neumann <sven@gimp.org>
+
+ * gtk/gtkaccellabel.h
+ * gtk/gtkitemfactory.c: fixed documentation by syncing the parameter
+ names used in headers and code.
+
2002-01-14 jacob berkman <jacob@ximian.com>
* gtk/gtkrc.c (gtk_rc_get_im_module_path): close a comment block
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 0859dd6b80..5c68f49b71 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,9 @@
+2002-01-15 Sven Neumann <sven@gimp.org>
+
+ * gtk/gtkaccellabel.h
+ * gtk/gtkitemfactory.c: fixed documentation by syncing the parameter
+ names used in headers and code.
+
2002-01-14 jacob berkman <jacob@ximian.com>
* gtk/gtkrc.c (gtk_rc_get_im_module_path): close a comment block
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 0859dd6b80..5c68f49b71 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,9 @@
+2002-01-15 Sven Neumann <sven@gimp.org>
+
+ * gtk/gtkaccellabel.h
+ * gtk/gtkitemfactory.c: fixed documentation by syncing the parameter
+ names used in headers and code.
+
2002-01-14 jacob berkman <jacob@ximian.com>
* gtk/gtkrc.c (gtk_rc_get_im_module_path): close a comment block
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 0859dd6b80..5c68f49b71 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,9 @@
+2002-01-15 Sven Neumann <sven@gimp.org>
+
+ * gtk/gtkaccellabel.h
+ * gtk/gtkitemfactory.c: fixed documentation by syncing the parameter
+ names used in headers and code.
+
2002-01-14 jacob berkman <jacob@ximian.com>
* gtk/gtkrc.c (gtk_rc_get_im_module_path): close a comment block
diff --git a/gtk/gtkaccellabel.h b/gtk/gtkaccellabel.h
index 89529e88d4..03675bfac3 100644
--- a/gtk/gtkaccellabel.h
+++ b/gtk/gtkaccellabel.h
@@ -88,7 +88,7 @@ guint gtk_accel_label_get_accel_width (GtkAccelLabel *accel_label);
void gtk_accel_label_set_accel_widget (GtkAccelLabel *accel_label,
GtkWidget *accel_widget);
void gtk_accel_label_set_accel_closure (GtkAccelLabel *accel_label,
- GClosure *closure);
+ GClosure *accel_closure);
gboolean gtk_accel_label_refetch (GtkAccelLabel *accel_label);
#ifdef __cplusplus
diff --git a/gtk/gtkitemfactory.c b/gtk/gtkitemfactory.c
index 877ccab11b..944780f47c 100644
--- a/gtk/gtkitemfactory.c
+++ b/gtk/gtkitemfactory.c
@@ -257,8 +257,8 @@ gtk_item_factory_item_remove_widget (GtkWidget *widget,
* @accel_widget: widget to install an accelerator on
* @full_path: the full path for the @accel_widget
* @accel_group: the accelerator group to install the accelerator in
- * @accel_key: key value of the accelerator
- * @accel_mods: modifier combination of the accelerator
+ * @keyval: key value of the accelerator
+ * @modifiers: modifier combination of the accelerator
*
* Installs an accelerator for @accel_widget in @accel_group, that causes
* the ::activate signal to be emitted if the accelerator is activated.
@@ -272,8 +272,8 @@ void
gtk_item_factory_add_foreign (GtkWidget *accel_widget,
const gchar *full_path,
GtkAccelGroup *accel_group,
- guint accel_key,
- GdkModifierType accel_mods)
+ guint keyval,
+ GdkModifierType modifiers)
{
GtkItemFactoryClass *class;
GtkItemFactoryItem *item;
@@ -283,7 +283,7 @@ gtk_item_factory_add_foreign (GtkWidget *accel_widget,
class = gtk_type_class (GTK_TYPE_ITEM_FACTORY);
- accel_key = accel_key != GDK_VoidSymbol ? accel_key : 0;
+ keyval = keyval != GDK_VoidSymbol ? keyval : 0;
item = g_hash_table_lookup (class->item_ht, full_path);
if (!item)
@@ -304,7 +304,8 @@ gtk_item_factory_add_foreign (GtkWidget *accel_widget,
/* set the item path for the widget
*/
- gtk_object_set_data_by_id (GTK_OBJECT (accel_widget), quark_item_path, item->path);
+ gtk_object_set_data_by_id (GTK_OBJECT (accel_widget),
+ quark_item_path, item->path);
gtk_widget_set_name (accel_widget, item->path);
if (accel_group)
{
@@ -315,7 +316,8 @@ gtk_item_factory_add_foreign (GtkWidget *accel_widget,
(GtkDestroyNotify) gtk_accel_group_unref);
}
else
- gtk_object_set_data_by_id (GTK_OBJECT (accel_widget), quark_accel_group, NULL);
+ gtk_object_set_data_by_id (GTK_OBJECT (accel_widget),
+ quark_accel_group, NULL);
/* install defined accelerators
*/
@@ -323,7 +325,7 @@ gtk_item_factory_add_foreign (GtkWidget *accel_widget,
{
if (accel_group)
{
- gtk_accel_map_add_entry (full_path, accel_key, accel_mods);
+ gtk_accel_map_add_entry (full_path, keyval, modifiers);
_gtk_widget_set_accel_path (accel_widget, full_path, accel_group);
}
}
@@ -624,7 +626,7 @@ gtk_item_factory_create_items (GtkItemFactory *ifactory,
* @n_entries: the length of @entries
* @entries: an array of #GtkItemFactoryEntry<!>s
* @callback_data: data passed to the callback functions of all entries
- * @callback_data: 1 if the callback functions in @entries are of type
+ * @callback_type: 1 if the callback functions in @entries are of type
* #GtkItemFactoryCallback1, 2 if they are of type #GtkItemFactoryCallback2
*
* Creates the menu items from the @entries.
@@ -906,7 +908,7 @@ gtk_item_factory_parse_path (GtkItemFactory *ifactory,
* @ifactory: a #GtkItemFactory
* @entry: the #GtkItemFactoryEntry to create an item for
* @callback_data: data passed to the callback function of @entry
- * @callback_data: 1 if the callback function of @entry is of type
+ * @callback_type: 1 if the callback function of @entry is of type
* #GtkItemFactoryCallback1, 2 if it is of type #GtkItemFactoryCallback2
*
* Creates an item for @entry.
@@ -1329,6 +1331,7 @@ gtk_item_factory_delete_entry (GtkItemFactory *ifactory,
/**
* gtk_item_factory_delete_entries:
+ * @ifactory: a #GtkItemFactory
* @n_entries: the length of @entries
* @entries: an array of #GtkItemFactoryEntry<!>s
*
@@ -1371,7 +1374,7 @@ gtk_item_factory_menu_pos (GtkMenu *menu,
/**
* gtk_item_factory_popup_data_from_widget:
- * @widget a widget
+ * @widget: a widget
* @returns: @popup_data associated with the item factory from
* which @widget was created, or %NULL if @widget wasn't created
* by an item factory
@@ -1381,7 +1384,7 @@ gtk_item_factory_menu_pos (GtkMenu *menu,
* is popped down again.
*/
gpointer
-gtk_item_factory_popup_data_from_widget (GtkWidget *widget)
+gtk_item_factory_popup_data_from_widget (GtkWidget *widget)
{
GtkItemFactory *ifactory;