Commit 47f7073e authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Arturo Espinosa

[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.
parent 6c9e2cf1
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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)
{
......
......@@ -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;
......@@ -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 */
......
......@@ -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);
......
......@@ -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;
......@@ -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)
{
......
......@@ -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);
......
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