[Ummm, maybe we should do the same change to the selection_owner variable?]

1998-03-05  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gdk/gdkprivate.h: Changed the name of default_filters to
	gdk_default_filters to avoid namespace pollution.  Yes, it just
	happened to me.
	* gdk/gdk.c (gdk_event_translate):
	* gdk/gdkglobals.c:
	* gdk/gdkwindow.c (gdk_window_add_filter gdk_window_remove_filter): Likewise.
This commit is contained in:
Federico Mena Quintero 1998-03-06 00:39:11 +00:00 committed by Arturo Espinosa
parent 6c9e2cf195
commit 47f7073e28
14 changed files with 76 additions and 13 deletions

View File

@ -1,3 +1,12 @@
1998-03-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdk/gdkprivate.h: Changed the name of default_filters to
gdk_default_filters to avoid namespace pollution. Yes, it just
happened to me.
* gdk/gdk.c (gdk_event_translate):
* gdk/gdkglobals.c:
* gdk/gdkwindow.c (gdk_window_add_filter gdk_window_remove_filter): Likewise.
Thu Mar 5 12:32:06 1998 Marc Ewing <marc@redhat.com>
* gtk/gtkclist.c (select_row): emit UNselect on rows

View File

@ -1,3 +1,12 @@
1998-03-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdk/gdkprivate.h: Changed the name of default_filters to
gdk_default_filters to avoid namespace pollution. Yes, it just
happened to me.
* gdk/gdk.c (gdk_event_translate):
* gdk/gdkglobals.c:
* gdk/gdkwindow.c (gdk_window_add_filter gdk_window_remove_filter): Likewise.
Thu Mar 5 12:32:06 1998 Marc Ewing <marc@redhat.com>
* gtk/gtkclist.c (select_row): emit UNselect on rows

View File

@ -1,3 +1,12 @@
1998-03-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdk/gdkprivate.h: Changed the name of default_filters to
gdk_default_filters to avoid namespace pollution. Yes, it just
happened to me.
* gdk/gdk.c (gdk_event_translate):
* gdk/gdkglobals.c:
* gdk/gdkwindow.c (gdk_window_add_filter gdk_window_remove_filter): Likewise.
Thu Mar 5 12:32:06 1998 Marc Ewing <marc@redhat.com>
* gtk/gtkclist.c (select_row): emit UNselect on rows

View File

@ -1,3 +1,12 @@
1998-03-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdk/gdkprivate.h: Changed the name of default_filters to
gdk_default_filters to avoid namespace pollution. Yes, it just
happened to me.
* gdk/gdk.c (gdk_event_translate):
* gdk/gdkglobals.c:
* gdk/gdkwindow.c (gdk_window_add_filter gdk_window_remove_filter): Likewise.
Thu Mar 5 12:32:06 1998 Marc Ewing <marc@redhat.com>
* gtk/gtkclist.c (select_row): emit UNselect on rows

View File

@ -1,3 +1,12 @@
1998-03-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdk/gdkprivate.h: Changed the name of default_filters to
gdk_default_filters to avoid namespace pollution. Yes, it just
happened to me.
* gdk/gdk.c (gdk_event_translate):
* gdk/gdkglobals.c:
* gdk/gdkwindow.c (gdk_window_add_filter gdk_window_remove_filter): Likewise.
Thu Mar 5 12:32:06 1998 Marc Ewing <marc@redhat.com>
* gtk/gtkclist.c (select_row): emit UNselect on rows

View File

@ -1,3 +1,12 @@
1998-03-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdk/gdkprivate.h: Changed the name of default_filters to
gdk_default_filters to avoid namespace pollution. Yes, it just
happened to me.
* gdk/gdk.c (gdk_event_translate):
* gdk/gdkglobals.c:
* gdk/gdkwindow.c (gdk_window_add_filter gdk_window_remove_filter): Likewise.
Thu Mar 5 12:32:06 1998 Marc Ewing <marc@redhat.com>
* gtk/gtkclist.c (select_row): emit UNselect on rows

View File

@ -1,3 +1,12 @@
1998-03-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdk/gdkprivate.h: Changed the name of default_filters to
gdk_default_filters to avoid namespace pollution. Yes, it just
happened to me.
* gdk/gdk.c (gdk_event_translate):
* gdk/gdkglobals.c:
* gdk/gdkwindow.c (gdk_window_add_filter gdk_window_remove_filter): Likewise.
Thu Mar 5 12:32:06 1998 Marc Ewing <marc@redhat.com>
* gtk/gtkclist.c (select_row): emit UNselect on rows

View File

@ -1713,7 +1713,7 @@ gdk_event_translate (GdkEvent *event,
result = gdk_event_apply_filters (xevent, event,
window_private
?window_private->filters
:default_filters);
:gdk_default_filters);
if (result != GDK_FILTER_CONTINUE)
{

View File

@ -49,4 +49,4 @@ gchar *gdk_progclass = NULL;
gint gdk_error_code;
gint gdk_error_warnings = TRUE;
gint gdk_null_window_warnings = TRUE;
GList *default_filters = NULL;
GList *gdk_default_filters = NULL;

View File

@ -251,7 +251,7 @@ extern gchar *gdk_progclass;
extern gint gdk_error_code;
extern gint gdk_error_warnings;
extern gint gdk_null_window_warnings;
extern GList *default_filters;
extern GList *gdk_default_filters;
/* Debugging support */

View File

@ -1482,7 +1482,7 @@ gdk_window_add_filter (GdkWindow *window,
if(private)
tmp_list = private->filters;
else
tmp_list = default_filters;
tmp_list = gdk_default_filters;
while (tmp_list)
{
@ -1499,7 +1499,7 @@ gdk_window_add_filter (GdkWindow *window,
if(private)
private->filters = g_list_append (private->filters, filter);
else
default_filters = g_list_append (default_filters, filter);
gdk_default_filters = g_list_append (gdk_default_filters, filter);
}
void
@ -1516,7 +1516,7 @@ gdk_window_remove_filter (GdkWindow *window,
if(private)
tmp_list = private->filters;
else
tmp_list = default_filters;
tmp_list = gdk_default_filters;
while (tmp_list)
{
@ -1528,7 +1528,7 @@ gdk_window_remove_filter (GdkWindow *window,
if(private)
private->filters = g_list_remove_link (private->filters, tmp_list);
else
default_filters = g_list_remove_link (default_filters, tmp_list);
gdk_default_filters = g_list_remove_link (gdk_default_filters, tmp_list);
g_list_free_1 (tmp_list);
g_free (filter);

View File

@ -49,4 +49,4 @@ gchar *gdk_progclass = NULL;
gint gdk_error_code;
gint gdk_error_warnings = TRUE;
gint gdk_null_window_warnings = TRUE;
GList *default_filters = NULL;
GList *gdk_default_filters = NULL;

View File

@ -1713,7 +1713,7 @@ gdk_event_translate (GdkEvent *event,
result = gdk_event_apply_filters (xevent, event,
window_private
?window_private->filters
:default_filters);
:gdk_default_filters);
if (result != GDK_FILTER_CONTINUE)
{

View File

@ -1482,7 +1482,7 @@ gdk_window_add_filter (GdkWindow *window,
if(private)
tmp_list = private->filters;
else
tmp_list = default_filters;
tmp_list = gdk_default_filters;
while (tmp_list)
{
@ -1499,7 +1499,7 @@ gdk_window_add_filter (GdkWindow *window,
if(private)
private->filters = g_list_append (private->filters, filter);
else
default_filters = g_list_append (default_filters, filter);
gdk_default_filters = g_list_append (gdk_default_filters, filter);
}
void
@ -1516,7 +1516,7 @@ gdk_window_remove_filter (GdkWindow *window,
if(private)
tmp_list = private->filters;
else
tmp_list = default_filters;
tmp_list = gdk_default_filters;
while (tmp_list)
{
@ -1528,7 +1528,7 @@ gdk_window_remove_filter (GdkWindow *window,
if(private)
private->filters = g_list_remove_link (private->filters, tmp_list);
else
default_filters = g_list_remove_link (default_filters, tmp_list);
gdk_default_filters = g_list_remove_link (gdk_default_filters, tmp_list);
g_list_free_1 (tmp_list);
g_free (filter);