[gtk+] Documentation fixes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Documentation fixes
- Date: Tue, 25 May 2010 23:29:20 +0000 (UTC)
commit c7a48881c67c42179ed711f4df035a0b492d958b
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 25 19:27:42 2010 -0400
Documentation fixes
docs/reference/gtk/gtk3-sections.txt | 19 +------------------
gdk/gdkdisplay.c | 4 +++-
gtk/gtkiconfactory.c | 1 -
gtk/gtkwidget.c | 2 +-
gtk/tests/defaultvalue.c | 4 ++++
5 files changed, 9 insertions(+), 21 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index 398dc46..1f4e41d 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -2735,6 +2735,7 @@ gtk_recent_action_get_type
<TITLE>GtkRuler</TITLE>
GtkRuler
GtkRulerMetric
+gtk_ruler_new
gtk_ruler_set_metric
gtk_ruler_set_range
gtk_ruler_get_metric
@@ -5476,22 +5477,6 @@ GtkCallbackMarshal
GtkArg
<SUBSECTION Private>
GTK_TYPE_IDENTIFIER
-GTK_TYPE_UINT
-GTK_TYPE_ULONG
-GTK_TYPE_LONG
-GTK_TYPE_STRING
-GTK_TYPE_INT
-GTK_TYPE_NONE
-GTK_TYPE_FLOAT
-GTK_TYPE_FLAGS
-GTK_TYPE_ENUM
-GTK_TYPE_UCHAR
-GTK_TYPE_POINTER
-GTK_TYPE_BOOL
-GTK_TYPE_CHAR
-GTK_TYPE_BOXED
-GTK_TYPE_DOUBLE
-GTK_TYPE_INVALID
gtk_identifier_get_type
</SECTION>
@@ -5557,8 +5542,6 @@ GtkSortType
GtkDragResult
<SUBSECTION Private>
-GtkMenuCallback
-GtkMenuEntry
GTK_PATH_PRIO_MASK
</SECTION>
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index d643294..ba12886 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -152,9 +152,11 @@ gdk_display_class_init (GdkDisplayClass *class)
object_class->dispose = gdk_display_dispose;
/**
- * GdkDisplay::opened.
+ * GdkDisplay::opened:
* @display: the object on which the signal is emitted
*
+ * The ::opened signal is emitted when the connection to the windowing
+ * system for @display is opened.
*/
signals[OPENED] =
g_signal_new (g_intern_static_string ("opened"),
diff --git a/gtk/gtkiconfactory.c b/gtk/gtkiconfactory.c
index c825a97..0e6e3d8 100644
--- a/gtk/gtkiconfactory.c
+++ b/gtk/gtkiconfactory.c
@@ -1075,7 +1075,6 @@ gtk_icon_size_register_alias (const gchar *alias,
/**
* gtk_icon_size_from_name:
* @name: the name to look up.
- * @returns: the icon size with the given name.
*
* Looks up the icon size associated with @name.
*
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index b70cb2b..57ffdd6 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -7954,7 +7954,7 @@ gtk_widget_set_events (GtkWidget *widget,
/**
* gtk_widget_set_device_events:
* @widget: a #GtkWidget
- * #device: a #GdkDevice
+ * @device: a #GdkDevice
* @events: event mask
*
* Sets the device event mask (see #GdkEventMask) for a widget. The event
diff --git a/gtk/tests/defaultvalue.c b/gtk/tests/defaultvalue.c
index dca1ccd..82b8d35 100644
--- a/gtk/tests/defaultvalue.c
+++ b/gtk/tests/defaultvalue.c
@@ -183,6 +183,10 @@ test_type (gconstpointer data)
strcmp (pspec->name, "image") == 0)
continue;
+ if (g_type_is_a (type, GTK_TYPE_PANED) &&
+ strcmp (pspec->name, "max-position") == 0)
+ continue;
+
if (g_type_is_a (type, GTK_TYPE_PRINT_OPERATION) &&
strcmp (pspec->name, "job-name") == 0)
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]