+2003-01-31 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)
+
+ * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
+ and gtk_input_* functions. (#71596)
+
+ * gtk/gtkentry.c (gtk_entry_move_cursor):
+ * gtk/gtklabel.c (gtk_label_move_cursor): Handle
+ GTK_MOVEMENT_HORIZONTAL_PAGES in switches.
+
+ * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs(). (#79803)
+
+ * gtk/gtkitemfactory.h:
+ * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate.
+ (#69244)
+
Thu Jan 30 23:48:30 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell):
+2003-01-31 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)
+
+ * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
+ and gtk_input_* functions. (#71596)
+
+ * gtk/gtkentry.c (gtk_entry_move_cursor):
+ * gtk/gtklabel.c (gtk_label_move_cursor): Handle
+ GTK_MOVEMENT_HORIZONTAL_PAGES in switches.
+
+ * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs(). (#79803)
+
+ * gtk/gtkitemfactory.h:
+ * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate.
+ (#69244)
+
Thu Jan 30 23:48:30 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell):
+2003-01-31 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)
+
+ * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
+ and gtk_input_* functions. (#71596)
+
+ * gtk/gtkentry.c (gtk_entry_move_cursor):
+ * gtk/gtklabel.c (gtk_label_move_cursor): Handle
+ GTK_MOVEMENT_HORIZONTAL_PAGES in switches.
+
+ * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs(). (#79803)
+
+ * gtk/gtkitemfactory.h:
+ * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate.
+ (#69244)
+
Thu Jan 30 23:48:30 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell):
+2003-01-31 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)
+
+ * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
+ and gtk_input_* functions. (#71596)
+
+ * gtk/gtkentry.c (gtk_entry_move_cursor):
+ * gtk/gtklabel.c (gtk_label_move_cursor): Handle
+ GTK_MOVEMENT_HORIZONTAL_PAGES in switches.
+
+ * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs(). (#79803)
+
+ * gtk/gtkitemfactory.h:
+ * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate.
+ (#69244)
+
Thu Jan 30 23:48:30 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell):
+2003-01-31 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)
+
+ * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
+ and gtk_input_* functions. (#71596)
+
+ * gtk/gtkentry.c (gtk_entry_move_cursor):
+ * gtk/gtklabel.c (gtk_label_move_cursor): Handle
+ GTK_MOVEMENT_HORIZONTAL_PAGES in switches.
+
+ * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs(). (#79803)
+
+ * gtk/gtkitemfactory.h:
+ * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate.
+ (#69244)
+
Thu Jan 30 23:48:30 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell):
+2003-01-31 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/tmpl/gtkmain.sgml: Deprecate the gtk_timeout_*, gtk_idle_*
+ and gtk_input_* functions. (#71596)
+
2003-01-30 Matthias Clasen <maclas@gmx.de>
* gtk/running.sgml: s/overwrite/override/g (#104627, Brian Cameron)
@data: The data to pass to the function.
@destroy: Function to call when the timeout is destroyed or %NULL.
@Returns: A unique id for the event source.
-
+@Deprecated: Use g_timeout_add_full() instead.
<!-- ##### FUNCTION gtk_timeout_add ##### -->
<para>
@function: The function to call periodically.
@data: The data to pass to the function.
@Returns: A unique id for the event source.
-
+@Deprecated: Use g_timeout_add() instead.
<!-- ##### FUNCTION gtk_timeout_remove ##### -->
<para>
</para>
@timeout_handler_id: The identifier returned when installing the timeout.
+@Deprecated: Use g_source_remove() instead.
<!-- ##### FUNCTION gtk_idle_add ##### -->
@function: The function to call.
@data: The information to pass to the function.
@Returns: a unique handle for this registration.
+@Deprecated: Use g_idle_add() instead.
<!-- ##### FUNCTION gtk_idle_add_priority ##### -->
@function: The function to call.
@data: Data to pass to that function.
@Returns: A unique id for the event source.
-
+@Deprecated: Use g_idle_add_full() instead.
<!-- ##### FUNCTION gtk_idle_add_full ##### -->
<para>
@data: Data to pass to that function.
@destroy: Function to call when the timeout is destroyed or %NULL.
@Returns: A unique id for the event source.
+@Deprecated: Use g_idle_add_full() instead.
<!-- ##### FUNCTION gtk_idle_remove ##### -->
</para>
@idle_handler_id: Identifies the idle function to remove.
+@Deprecated: Use g_source_remove() instead.
<!-- ##### FUNCTION gtk_idle_remove_by_data ##### -->
</para>
@data: remove the idle function which was registered with this user data.
+@Deprecated: Use g_idle_remove_by_data() instead.
<!-- ##### FUNCTION gtk_input_add_full ##### -->
@destroy: callback function to call with @data when the input
handler is removed, or %NULL.
@Returns: A unique id for the event source; to be used with gtk_input_remove().
-
+@Deprecated: Use g_io_watch_full() instead.
<!-- ##### FUNCTION gtk_input_remove ##### -->
<para>
</para>
@input_handler_id: Identifies the function to remove.
+@Deprecated: Use g_source_remove() instead.
<!-- ##### MACRO GTK_PRIORITY_REDRAW ##### -->
/* Conversion functions between wide char and multibyte strings.
*/
+#ifndef GDK_DISABLE_DEPRECATED
gchar *gdk_wcstombs (const GdkWChar *src);
gint gdk_mbstowcs (GdkWChar *dest,
const gchar *src,
gint dest_max);
+#endif
/* Miscellaneous */
#ifndef GDK_MULTIHEAD_SAFE
case GTK_MOVEMENT_DISPLAY_LINES:
case GTK_MOVEMENT_PARAGRAPHS:
case GTK_MOVEMENT_PAGES:
+ case GTK_MOVEMENT_HORIZONTAL_PAGES:
break;
}
}
case GTK_MOVEMENT_DISPLAY_LINES:
case GTK_MOVEMENT_PARAGRAPHS:
case GTK_MOVEMENT_PAGES:
+ case GTK_MOVEMENT_HORIZONTAL_PAGES:
break;
}
}
* This function can be used to make widgets participate in the accel
* saving/restoring functionality provided by gtk_accel_map_save() and
* gtk_accel_map_load(), even if they haven't been created by an item
- * factory. The recommended API for this purpose are the functions
+ * factory.
+ *
+ * Deprecated: The recommended API for this purpose are the functions
* gtk_menu_item_set_accel_path() and gtk_widget_set_accel_path(); don't
* use gtk_item_factory_add_foreign() in new code, since it is likely to
* be removed in the future.
/* These functions operate on GtkItemFactoryClass basis.
*/
+#ifndef GTK_DISABLE_DEPRECATED
void gtk_item_factory_add_foreign (GtkWidget *accel_widget,
const gchar *full_path,
GtkAccelGroup *accel_group,
guint keyval,
GdkModifierType modifiers);
+#endif
GtkItemFactory* gtk_item_factory_from_widget (GtkWidget *widget);
G_CONST_RETURN gchar* gtk_item_factory_path_from_widget (GtkWidget *widget);
label->text && (*label->text != '\0'))
{
get_layout_location (label, &x, &y);
-
+
gtk_paint_layout (widget->style,
widget->window,
GTK_WIDGET_STATE (widget),
case GTK_MOVEMENT_DISPLAY_LINES:
case GTK_MOVEMENT_PARAGRAPHS:
case GTK_MOVEMENT_PAGES:
+ case GTK_MOVEMENT_HORIZONTAL_PAGES:
break;
}
}
case GTK_MOVEMENT_DISPLAY_LINES:
case GTK_MOVEMENT_PARAGRAPHS:
case GTK_MOVEMENT_PAGES:
+ case GTK_MOVEMENT_HORIZONTAL_PAGES:
break;
}
}
GtkDestroyNotify destroy);
void gtk_quit_remove (guint quit_handler_id);
void gtk_quit_remove_by_data (gpointer data);
+#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
guint gtk_timeout_add (guint32 interval,
GtkFunction function,
gpointer data);
gpointer data,
GtkDestroyNotify destroy);
void gtk_input_remove (guint input_handler_id);
-
+#endif /* !GTK_DISABLE_DEPRECATED || GTK_COMPILATION */
guint gtk_key_snooper_install (GtkKeySnoopFunc snooper,
gpointer func_data);
gint position);
/* Internal function */
+#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
void gtk_paned_compute_position (GtkPaned *paned,
gint allocation,
gint child1_req,
gint child2_req);
-
+#endif /* !GTK_DISABLE_DEPRECATED || GTK_COMPILATION */
#ifndef GTK_DISABLE_DEPRECATED
#define gtk_paned_gutter_size(p,s) (void) 0
#define gtk_paned_set_gutter_size(p,s) (void) 0