[glib] docs: Remove pointless copy of GObject headers from tutorial
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] docs: Remove pointless copy of GObject headers from tutorial
- Date: Fri, 21 Aug 2015 14:17:11 +0000 (UTC)
commit f9410b16475828f90d27cee58faa3a78a5f181d2
Author: Philip Withnall <philip withnall collabora co uk>
Date: Thu Feb 19 14:08:03 2015 +0000
docs: Remove pointless copy of GObject headers from tutorial
Remove a copy of the refcounting functions from gobject.h from the
GObject tutorial. It suffices to link to the functions in the API
reference.
https://bugzilla.gnome.org/show_bug.cgi?id=744060
docs/reference/gobject/tut_gobject.xml | 28 ----------------------------
1 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/docs/reference/gobject/tut_gobject.xml b/docs/reference/gobject/tut_gobject.xml
index 95ce1b5..71e989c 100644
--- a/docs/reference/gobject/tut_gobject.xml
+++ b/docs/reference/gobject/tut_gobject.xml
@@ -241,34 +241,6 @@ MamanBar *bar = g_object_new (MAMAN_TYPE_BAR, NULL);
which can be integrated in applications which use or require different memory management
models (such as garbage collection). The methods which are used to
manipulate this reference count are described below.
-<informalexample><programlisting>
-/*
- Refcounting
-*/
-gpointer g_object_ref (gpointer object);
-void g_object_unref (gpointer object);
-
-/*
- * Weak References
- */
-typedef void (*GWeakNotify) (gpointer data,
- GObject *where_the_object_was);
-
-void g_object_weak_ref (GObject *object,
- GWeakNotify notify,
- gpointer data);
-void g_object_weak_unref (GObject *object,
- GWeakNotify notify,
- gpointer data);
-void g_object_add_weak_pointer (GObject *object,
- gpointer *weak_pointer_location);
-void g_object_remove_weak_pointer (GObject *object,
- gpointer *weak_pointer_location);
-/*
- * Cycle handling
- */
-void g_object_run_dispose (GObject *object);
-</programlisting></informalexample>
</para>
<sect2 id="gobject-memory-refcount">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]