Commit 1fd7856d authored by Matthias Clasen's avatar Matthias Clasen

Replace deprecated gtk_timeout_* functions by their GLib counterparts.

	* gtk/gtkcalendar.c (calendar_timer):
	(stop_spinning): Replace deprecated gtk_timeout_* functions by
	their GLib counterparts.  (#114429)
parent f114b14a
2003-06-05 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c (calendar_timer):
(stop_spinning): Replace deprecated gtk_timeout_* functions by
their GLib counterparts. (#114429)
* gtk/gtktreestore.c (gtk_tree_store_new):
* gtk/gtkliststore.c (gtk_list_store_new): Document restriction on
types.
......
2003-06-05 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c (calendar_timer):
(stop_spinning): Replace deprecated gtk_timeout_* functions by
their GLib counterparts. (#114429)
* gtk/gtktreestore.c (gtk_tree_store_new):
* gtk/gtkliststore.c (gtk_list_store_new): Document restriction on
types.
......
2003-06-05 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c (calendar_timer):
(stop_spinning): Replace deprecated gtk_timeout_* functions by
their GLib counterparts. (#114429)
* gtk/gtktreestore.c (gtk_tree_store_new):
* gtk/gtkliststore.c (gtk_list_store_new): Document restriction on
types.
......
2003-06-05 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c (calendar_timer):
(stop_spinning): Replace deprecated gtk_timeout_* functions by
their GLib counterparts. (#114429)
* gtk/gtktreestore.c (gtk_tree_store_new):
* gtk/gtkliststore.c (gtk_list_store_new): Document restriction on
types.
......
2003-06-05 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c (calendar_timer):
(stop_spinning): Replace deprecated gtk_timeout_* functions by
their GLib counterparts. (#114429)
* gtk/gtktreestore.c (gtk_tree_store_new):
* gtk/gtkliststore.c (gtk_list_store_new): Document restriction on
types.
......
......@@ -2472,9 +2472,9 @@ calendar_timer (GtkCalendar *calendar)
if (private_data->need_timer)
{
private_data->need_timer = FALSE;
private_data->timer = gtk_timeout_add (CALENDAR_TIMER_DELAY,
(GtkFunction) calendar_timer,
(gpointer) calendar);
private_data->timer = g_timeout_add (CALENDAR_TIMER_DELAY,
(GtkFunction) calendar_timer,
(gpointer) calendar);
}
else
retval = TRUE;
......@@ -2511,7 +2511,7 @@ stop_spinning (GtkWidget *widget)
if (private_data->timer)
{
gtk_timeout_remove (private_data->timer);
g_source_remove (private_data->timer);
private_data->timer = 0;
private_data->need_timer = FALSE;
}
......
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