Commit a7bab735 authored by Matthias Clasen's avatar Matthias Clasen

Deprecate. (#65851)

        * gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)

        * gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)

        * gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.

        * gtk/tmpl/gtkwidget.sgml: Updates.
        * gtk/Makefile.am (IGNORE_HFILES): Remove gtktextchild.h.
parent af05ac0e
2001-12-04 Matthias Clasen <matthiasc@poet.de>
* gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)
* gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)
* gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.
Tue Dec 4 18:51:44 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h: remove gtk_tree_view_column_cell_event,
......
2001-12-04 Matthias Clasen <matthiasc@poet.de>
* gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)
* gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)
* gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.
Tue Dec 4 18:51:44 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h: remove gtk_tree_view_column_cell_event,
......
2001-12-04 Matthias Clasen <matthiasc@poet.de>
* gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)
* gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)
* gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.
Tue Dec 4 18:51:44 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h: remove gtk_tree_view_column_cell_event,
......
2001-12-04 Matthias Clasen <matthiasc@poet.de>
* gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)
* gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)
* gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.
Tue Dec 4 18:51:44 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h: remove gtk_tree_view_column_cell_event,
......
2001-12-04 Matthias Clasen <matthiasc@poet.de>
* gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)
* gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)
* gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.
Tue Dec 4 18:51:44 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h: remove gtk_tree_view_column_cell_event,
......
2001-12-04 Matthias Clasen <matthiasc@poet.de>
* gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)
* gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)
* gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.
Tue Dec 4 18:51:44 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h: remove gtk_tree_view_column_cell_event,
......
2001-12-04 Matthias Clasen <matthiasc@poet.de>
* gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)
* gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)
* gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.
Tue Dec 4 18:51:44 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h: remove gtk_tree_view_column_cell_event,
......
2001-12-04 Matthias Clasen <matthiasc@poet.de>
* gtk/tmpl/gtkwidget.sgml: Updates.
* gtk/Makefile.am (IGNORE_HFILES): Remove gtktextchild.h.
2001-12-03 Matthias Clasen <matthiasc@poet.de>
* gdk/tmpl/input_devices.sgml,
......
......@@ -36,7 +36,6 @@ IGNORE_HFILES= \
gtkrbtree.h \
gtktreedatalist.h \
gtktextbtree.h \
gtktextchild.h \
gtktextdisplay.h \
gtktextiterprivate.h \
gtktextlayout.h \
......
......@@ -1368,14 +1368,14 @@ GtkWidget
<!-- ##### MACRO gtk_widget_pop_visual ##### -->
<para>
This function is deprecated; it does nothing.
</para>
<!-- ##### MACRO gtk_widget_push_visual ##### -->
<para>
This function is deprecated; it does nothing.
</para>
@visual:
......@@ -1392,7 +1392,7 @@ GtkWidget
<!-- ##### MACRO gtk_widget_set_default_visual ##### -->
<para>
This function is deprecated; it does nothing.
</para>
@visual:
......@@ -1410,7 +1410,7 @@ GtkWidget
<!-- ##### MACRO gtk_widget_set_visual ##### -->
<para>
This function is deprecated; it does nothing.
</para>
@widget:
......
......@@ -69,11 +69,9 @@ void gdk_colormap_unref (GdkColormap *cmap);
GdkColormap* gdk_colormap_get_system (void);
#ifndef GDK_DISABLE_DEPRECATED
gint gdk_colormap_get_system_size (void);
#endif
void gdk_colormap_change (GdkColormap *colormap,
gint ncolors);
#endif
gint gdk_colormap_alloc_colors (GdkColormap *colormap,
GdkColor *colors,
......
......@@ -63,7 +63,6 @@ extern "C" {
/* Type definitions for the basic structures.
*/
typedef struct _GdkKeyInfo GdkKeyInfo;
typedef struct _GdkPoint GdkPoint;
typedef struct _GdkRectangle GdkRectangle;
typedef struct _GdkSegment GdkSegment;
......@@ -170,16 +169,6 @@ typedef void (*GdkInputFunction) (gpointer data,
typedef void (*GdkDestroyNotify) (gpointer data);
/* GdkKeyInfo is a description of a the hardware key and state that
* can be mapped to some keysym.
*/
struct _GdkKeyInfo
{
guint keycode;
gint group;
gint level;
};
struct _GdkPoint
{
gint x;
......
This diff is collapsed.
......@@ -1260,6 +1260,15 @@ gtk_window_get_mnemonic_modifier (GtkWindow *window)
return window->mnemonic_modifier;
}
/**
* gtk_window_set_position:
* @window: a #GtkWindow.
* @position: a position constraint.
*
* Sets a position constaint for this window. If the old or new
* constaint is %GTK_WIN_POS_CENTER_ALWAYS, this will also cause
* the window to be repositioned to satisfy the new constraint.
**/
void
gtk_window_set_position (GtkWindow *window,
GtkWindowPosition position)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment