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)
This commit is contained in:
Matthias Clasen
2003-06-05 00:38:37 +00:00
parent f114b14ac3
commit 1fd7856d8f
6 changed files with 24 additions and 4 deletions

View File

@ -1,5 +1,9 @@
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.

View File

@ -1,5 +1,9 @@
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.

View File

@ -1,5 +1,9 @@
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.

View File

@ -1,5 +1,9 @@
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.

View File

@ -1,5 +1,9 @@
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.

View File

@ -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;
}