forked from AuroraMiddleware/gtk
declare gtk_selection_clear in GTK_COMPILATION too, for gtkwidget.c.
Thu Jan 30 17:16:05 2003 Manish Singh <yosh@gimp.org> * gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION too, for gtkwidget.c. Remember people, when introducing new deprecations, make sure internal code isn't using it, or if so, reorganize appropriately like I've done in other places. * tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
This commit is contained in:
parent
9efb563cfb
commit
c71f8b39dc
@ -1,3 +1,12 @@
|
||||
Thu Jan 30 17:16:05 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION
|
||||
too, for gtkwidget.c. Remember people, when introducing new
|
||||
deprecations, make sure internal code isn't using it, or if so,
|
||||
reorganize appropriately like I've done in other places.
|
||||
|
||||
* tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
|
||||
|
||||
2003-01-31 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkselection.h:
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jan 30 17:16:05 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION
|
||||
too, for gtkwidget.c. Remember people, when introducing new
|
||||
deprecations, make sure internal code isn't using it, or if so,
|
||||
reorganize appropriately like I've done in other places.
|
||||
|
||||
* tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
|
||||
|
||||
2003-01-31 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkselection.h:
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jan 30 17:16:05 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION
|
||||
too, for gtkwidget.c. Remember people, when introducing new
|
||||
deprecations, make sure internal code isn't using it, or if so,
|
||||
reorganize appropriately like I've done in other places.
|
||||
|
||||
* tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
|
||||
|
||||
2003-01-31 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkselection.h:
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jan 30 17:16:05 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION
|
||||
too, for gtkwidget.c. Remember people, when introducing new
|
||||
deprecations, make sure internal code isn't using it, or if so,
|
||||
reorganize appropriately like I've done in other places.
|
||||
|
||||
* tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
|
||||
|
||||
2003-01-31 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkselection.h:
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jan 30 17:16:05 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION
|
||||
too, for gtkwidget.c. Remember people, when introducing new
|
||||
deprecations, make sure internal code isn't using it, or if so,
|
||||
reorganize appropriately like I've done in other places.
|
||||
|
||||
* tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
|
||||
|
||||
2003-01-31 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkselection.h:
|
||||
|
@ -148,7 +148,7 @@ gboolean gtk_selection_data_targets_include_text (GtkSelectionData *selection_d
|
||||
void gtk_selection_remove_all (GtkWidget *widget);
|
||||
|
||||
/* Event handlers */
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
#if !defined(GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
|
||||
gboolean gtk_selection_clear (GtkWidget *widget,
|
||||
GdkEventSelection *event);
|
||||
#endif
|
||||
|
@ -2007,10 +2007,10 @@ buffer_set_colors (Buffer *buffer,
|
||||
gdouble hue = 0.0;
|
||||
|
||||
if (enabled && buffer->color_cycle_timeout == 0)
|
||||
buffer->color_cycle_timeout = gtk_timeout_add (200, color_cycle_timeout, buffer);
|
||||
buffer->color_cycle_timeout = g_timeout_add (200, color_cycle_timeout, buffer);
|
||||
else if (!enabled && buffer->color_cycle_timeout != 0)
|
||||
{
|
||||
gtk_timeout_remove (buffer->color_cycle_timeout);
|
||||
g_source_remove (buffer->color_cycle_timeout);
|
||||
buffer->color_cycle_timeout = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user