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:
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user