mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 21:20:09 +00:00
Deprecate.
* gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref), gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref), gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref), gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref): Deprecate. * gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not GTK_DISABLE_DEPRECATED. * gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref), gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document. * gdk/tmpl/colors.sgml, gdk/tmpl/pixmaps.sgml, gdk/tmpl/dnd.sgml, gdk/tmpl/gcs.sgml: Document ref and unref functions as deprecated.
This commit is contained in:
parent
d2b64a0b83
commit
101d44881c
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
|||||||
|
2001-11-30 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref),
|
||||||
|
gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref),
|
||||||
|
gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref): Deprecate.
|
||||||
|
|
||||||
|
* gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not
|
||||||
|
GTK_DISABLE_DEPRECATED.
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document.
|
||||||
|
|
||||||
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
||||||
|
@ -1,3 +1,16 @@
|
|||||||
|
2001-11-30 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref),
|
||||||
|
gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref),
|
||||||
|
gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref): Deprecate.
|
||||||
|
|
||||||
|
* gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not
|
||||||
|
GTK_DISABLE_DEPRECATED.
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document.
|
||||||
|
|
||||||
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
||||||
|
@ -1,3 +1,16 @@
|
|||||||
|
2001-11-30 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref),
|
||||||
|
gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref),
|
||||||
|
gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref): Deprecate.
|
||||||
|
|
||||||
|
* gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not
|
||||||
|
GTK_DISABLE_DEPRECATED.
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document.
|
||||||
|
|
||||||
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
||||||
|
@ -1,3 +1,16 @@
|
|||||||
|
2001-11-30 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref),
|
||||||
|
gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref),
|
||||||
|
gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref): Deprecate.
|
||||||
|
|
||||||
|
* gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not
|
||||||
|
GTK_DISABLE_DEPRECATED.
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document.
|
||||||
|
|
||||||
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
||||||
|
@ -1,3 +1,16 @@
|
|||||||
|
2001-11-30 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref),
|
||||||
|
gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref),
|
||||||
|
gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref): Deprecate.
|
||||||
|
|
||||||
|
* gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not
|
||||||
|
GTK_DISABLE_DEPRECATED.
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document.
|
||||||
|
|
||||||
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
||||||
|
@ -1,3 +1,16 @@
|
|||||||
|
2001-11-30 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref),
|
||||||
|
gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref),
|
||||||
|
gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref): Deprecate.
|
||||||
|
|
||||||
|
* gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not
|
||||||
|
GTK_DISABLE_DEPRECATED.
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document.
|
||||||
|
|
||||||
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
||||||
|
@ -1,3 +1,16 @@
|
|||||||
|
2001-11-30 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref),
|
||||||
|
gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref),
|
||||||
|
gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref): Deprecate.
|
||||||
|
|
||||||
|
* gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not
|
||||||
|
GTK_DISABLE_DEPRECATED.
|
||||||
|
|
||||||
|
* gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref),
|
||||||
|
gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document.
|
||||||
|
|
||||||
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
Fri Nov 30 16:37:01 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-30 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
|
* gdk/tmpl/colors.sgml, gdk/tmpl/pixmaps.sgml, gdk/tmpl/dnd.sgml,
|
||||||
|
gdk/tmpl/gcs.sgml: Document ref and unref functions as deprecated.
|
||||||
|
|
||||||
2001-11-29 Matthias Clasen <matthiasc@poet.de>
|
2001-11-29 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
* gtk/gtk-sections.sgml: Add GtkTextChildAnchor.
|
* gtk/gtk-sections.sgml: Add GtkTextChildAnchor.
|
||||||
|
@ -127,20 +127,19 @@ Create a new colormap for the given visual.
|
|||||||
|
|
||||||
<!-- ##### FUNCTION gdk_colormap_ref ##### -->
|
<!-- ##### FUNCTION gdk_colormap_ref ##### -->
|
||||||
<para>
|
<para>
|
||||||
Increase the reference count of a colormap.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@cmap: a #GdkColormap.
|
@cmap:
|
||||||
@Returns: @cmap
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_colormap_unref ##### -->
|
<!-- ##### FUNCTION gdk_colormap_unref ##### -->
|
||||||
<para>
|
<para>
|
||||||
Decrease the reference count of a colormap. If the
|
|
||||||
resulting reference count is zero, destroys the colormap.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@cmap: a #GdkColormap.
|
@cmap:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_colormap_get_system ##### -->
|
<!-- ##### FUNCTION gdk_colormap_get_system ##### -->
|
||||||
|
@ -82,7 +82,7 @@ Creates a new #GdkDragContext.
|
|||||||
|
|
||||||
<!-- ##### FUNCTION gdk_drag_context_ref ##### -->
|
<!-- ##### FUNCTION gdk_drag_context_ref ##### -->
|
||||||
<para>
|
<para>
|
||||||
Increases the reference count of a drag context by one.
|
Deprecated function; use g_object_ref() instead.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@context: a #GdkDragContext.
|
@context: a #GdkDragContext.
|
||||||
@ -154,7 +154,7 @@ which DND is done.
|
|||||||
|
|
||||||
<!-- ##### FUNCTION gdk_drag_context_unref ##### -->
|
<!-- ##### FUNCTION gdk_drag_context_unref ##### -->
|
||||||
<para>
|
<para>
|
||||||
Decreases the reference count of a drag context by one.
|
Deprecated function; use g_object_unref() instead.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@context: a #GdkDragContext.
|
@context: a #GdkDragContext.
|
||||||
|
@ -152,21 +152,19 @@ Create a new GC with the given initial values.
|
|||||||
|
|
||||||
<!-- ##### FUNCTION gdk_gc_ref ##### -->
|
<!-- ##### FUNCTION gdk_gc_ref ##### -->
|
||||||
<para>
|
<para>
|
||||||
Increase the reference count on a graphics context.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@gc: a #GdkGC.
|
@gc:
|
||||||
@Returns: @gc.
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gdk_gc_unref ##### -->
|
<!-- ##### FUNCTION gdk_gc_unref ##### -->
|
||||||
<para>
|
<para>
|
||||||
Decrease the reference count on a graphics context. If
|
|
||||||
the resulting reference count is zero, the graphics
|
|
||||||
context will be destroyed.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@gc: a #GdkGC.
|
@gc:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO gdk_gc_destroy ##### -->
|
<!-- ##### MACRO gdk_gc_destroy ##### -->
|
||||||
|
@ -149,7 +149,7 @@ in which case a default color will be used.
|
|||||||
|
|
||||||
<!-- ##### MACRO gdk_pixmap_ref ##### -->
|
<!-- ##### MACRO gdk_pixmap_ref ##### -->
|
||||||
<para>
|
<para>
|
||||||
Increase the reference count of a pixmap.
|
Deprecated equivalent of g_object_ref().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@pixmap: a #GdkPixmap
|
@pixmap: a #GdkPixmap
|
||||||
@ -158,8 +158,7 @@ Increase the reference count of a pixmap.
|
|||||||
|
|
||||||
<!-- ##### MACRO gdk_pixmap_unref ##### -->
|
<!-- ##### MACRO gdk_pixmap_unref ##### -->
|
||||||
<para>
|
<para>
|
||||||
Decrease the reference count of a pixmap. If the resulting
|
Deprecated equivalent of g_object_unref().
|
||||||
reference count is zero, destroy the pixmap.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@pixmap: a #GdkPixmap
|
@pixmap: a #GdkPixmap
|
||||||
@ -177,8 +176,7 @@ refers generically to any of these types.
|
|||||||
|
|
||||||
<!-- ##### MACRO gdk_bitmap_ref ##### -->
|
<!-- ##### MACRO gdk_bitmap_ref ##### -->
|
||||||
<para>
|
<para>
|
||||||
Increase the reference count of a bitmap. An alias
|
Deprecated equivalent of g_object_ref().
|
||||||
for gdk_pixmap_ref().
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@Returns: @pixmap
|
@Returns: @pixmap
|
||||||
@ -187,8 +185,7 @@ for gdk_pixmap_ref().
|
|||||||
|
|
||||||
<!-- ##### MACRO gdk_bitmap_unref ##### -->
|
<!-- ##### MACRO gdk_bitmap_unref ##### -->
|
||||||
<para>
|
<para>
|
||||||
Decrease the reference count of a bitmap. An alias
|
Deprecated equivalent of g_object_unref().
|
||||||
for gdk_pixmap_unref().
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@pixmap: a #GdkBitmap
|
@pixmap: a #GdkBitmap
|
||||||
|
@ -29,12 +29,28 @@
|
|||||||
#include "gdkcolor.h"
|
#include "gdkcolor.h"
|
||||||
#include "gdkinternals.h"
|
#include "gdkinternals.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gdk_colormap_ref:
|
||||||
|
* @image: a #GdkColormap
|
||||||
|
*
|
||||||
|
* Deprecated function; use g_object_ref() instead.
|
||||||
|
*
|
||||||
|
* Return value: the colormap
|
||||||
|
**/
|
||||||
GdkColormap*
|
GdkColormap*
|
||||||
gdk_colormap_ref (GdkColormap *cmap)
|
gdk_colormap_ref (GdkColormap *cmap)
|
||||||
{
|
{
|
||||||
return (GdkColormap *) g_object_ref (G_OBJECT (cmap));
|
return (GdkColormap *) g_object_ref (G_OBJECT (cmap));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gdk_colormap_unref:
|
||||||
|
* @image: a #GdkColormap
|
||||||
|
*
|
||||||
|
* Deprecated function; use g_object_ref() instead.
|
||||||
|
*
|
||||||
|
* Return value: the colormap
|
||||||
|
**/
|
||||||
void
|
void
|
||||||
gdk_colormap_unref (GdkColormap *cmap)
|
gdk_colormap_unref (GdkColormap *cmap)
|
||||||
{
|
{
|
||||||
|
@ -60,13 +60,16 @@ GType gdk_colormap_get_type (void) G_GNUC_CONST;
|
|||||||
|
|
||||||
GdkColormap* gdk_colormap_new (GdkVisual *visual,
|
GdkColormap* gdk_colormap_new (GdkVisual *visual,
|
||||||
gboolean allocate);
|
gboolean allocate);
|
||||||
|
|
||||||
|
#ifndef GDK_DISABLE_DEPRECATED
|
||||||
GdkColormap* gdk_colormap_ref (GdkColormap *cmap);
|
GdkColormap* gdk_colormap_ref (GdkColormap *cmap);
|
||||||
void gdk_colormap_unref (GdkColormap *cmap);
|
void gdk_colormap_unref (GdkColormap *cmap);
|
||||||
|
#endif
|
||||||
|
|
||||||
GdkColormap* gdk_colormap_get_system (void);
|
GdkColormap* gdk_colormap_get_system (void);
|
||||||
#ifndef GDK_DISABLE_DEPRECATED
|
#ifndef GDK_DISABLE_DEPRECATED
|
||||||
gint gdk_colormap_get_system_size (void);
|
gint gdk_colormap_get_system_size (void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void gdk_colormap_change (GdkColormap *colormap,
|
void gdk_colormap_change (GdkColormap *colormap,
|
||||||
gint ncolors);
|
gint ncolors);
|
||||||
|
@ -78,8 +78,11 @@ struct _GdkDragContextClass {
|
|||||||
|
|
||||||
GType gdk_drag_context_get_type (void) G_GNUC_CONST;
|
GType gdk_drag_context_get_type (void) G_GNUC_CONST;
|
||||||
GdkDragContext * gdk_drag_context_new (void);
|
GdkDragContext * gdk_drag_context_new (void);
|
||||||
|
|
||||||
|
#ifndef GDK_DISABLE_DEPRECATED
|
||||||
void gdk_drag_context_ref (GdkDragContext *context);
|
void gdk_drag_context_ref (GdkDragContext *context);
|
||||||
void gdk_drag_context_unref (GdkDragContext *context);
|
void gdk_drag_context_unref (GdkDragContext *context);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Destination side */
|
/* Destination side */
|
||||||
|
|
||||||
|
@ -161,8 +161,11 @@ void gdk_drawable_set_colormap (GdkDrawable *drawable,
|
|||||||
GdkColormap* gdk_drawable_get_colormap (GdkDrawable *drawable);
|
GdkColormap* gdk_drawable_get_colormap (GdkDrawable *drawable);
|
||||||
GdkVisual* gdk_drawable_get_visual (GdkDrawable *drawable);
|
GdkVisual* gdk_drawable_get_visual (GdkDrawable *drawable);
|
||||||
gint gdk_drawable_get_depth (GdkDrawable *drawable);
|
gint gdk_drawable_get_depth (GdkDrawable *drawable);
|
||||||
|
|
||||||
|
#ifndef GDK_DISABLE_DEPRECATED
|
||||||
GdkDrawable* gdk_drawable_ref (GdkDrawable *drawable);
|
GdkDrawable* gdk_drawable_ref (GdkDrawable *drawable);
|
||||||
void gdk_drawable_unref (GdkDrawable *drawable);
|
void gdk_drawable_unref (GdkDrawable *drawable);
|
||||||
|
#endif /* GDK_DISABLE_DEPRECATED */
|
||||||
|
|
||||||
/* Drawing
|
/* Drawing
|
||||||
*/
|
*/
|
||||||
|
16
gdk/gdkgc.c
16
gdk/gdkgc.c
@ -122,12 +122,28 @@ gdk_gc_finalize (GObject *object)
|
|||||||
parent_class->finalize (object);
|
parent_class->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gdk_gc_ref:
|
||||||
|
* @gc: a #GdkGC
|
||||||
|
*
|
||||||
|
* Deprecated function; use g_object_ref() instead.
|
||||||
|
*
|
||||||
|
* Return value: the gc.
|
||||||
|
**/
|
||||||
GdkGC *
|
GdkGC *
|
||||||
gdk_gc_ref (GdkGC *gc)
|
gdk_gc_ref (GdkGC *gc)
|
||||||
{
|
{
|
||||||
return (GdkGC *) g_object_ref (G_OBJECT (gc));
|
return (GdkGC *) g_object_ref (G_OBJECT (gc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gdk_gc_unref:
|
||||||
|
* @gc: a #GdkGC
|
||||||
|
*
|
||||||
|
* Deprecated function; use g_object_unref() instead.
|
||||||
|
*
|
||||||
|
* Return value: the gc.
|
||||||
|
**/
|
||||||
void
|
void
|
||||||
gdk_gc_unref (GdkGC *gc)
|
gdk_gc_unref (GdkGC *gc)
|
||||||
{
|
{
|
||||||
|
@ -191,8 +191,12 @@ GdkGC *gdk_gc_new (GdkDrawable *drawable);
|
|||||||
GdkGC *gdk_gc_new_with_values (GdkDrawable *drawable,
|
GdkGC *gdk_gc_new_with_values (GdkDrawable *drawable,
|
||||||
GdkGCValues *values,
|
GdkGCValues *values,
|
||||||
GdkGCValuesMask values_mask);
|
GdkGCValuesMask values_mask);
|
||||||
|
|
||||||
|
#ifndef GDK_DISABLE_DEPRECATED
|
||||||
GdkGC *gdk_gc_ref (GdkGC *gc);
|
GdkGC *gdk_gc_ref (GdkGC *gc);
|
||||||
void gdk_gc_unref (GdkGC *gc);
|
void gdk_gc_unref (GdkGC *gc);
|
||||||
|
#endif
|
||||||
|
|
||||||
void gdk_gc_get_values (GdkGC *gc,
|
void gdk_gc_get_values (GdkGC *gc,
|
||||||
GdkGCValues *values);
|
GdkGCValues *values);
|
||||||
void gdk_gc_set_values (GdkGC *gc,
|
void gdk_gc_set_values (GdkGC *gc,
|
||||||
|
@ -80,7 +80,7 @@ GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type);
|
|||||||
GdkVisual* gdk_visual_get_best_with_both (gint depth,
|
GdkVisual* gdk_visual_get_best_with_both (gint depth,
|
||||||
GdkVisualType visual_type);
|
GdkVisualType visual_type);
|
||||||
|
|
||||||
#ifndef GTK_DISABLE_DEPRECATED
|
#ifndef GDK_DISABLE_DEPRECATED
|
||||||
#define gdk_visual_ref(v) g_object_ref(v)
|
#define gdk_visual_ref(v) g_object_ref(v)
|
||||||
#define gdk_visual_unref(v) g_object_unref(v)
|
#define gdk_visual_unref(v) g_object_unref(v)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user