gdk_event_put() copies the event and setting name, so we don't have to

Thu May 16 12:50:13 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (gdk_xsettings_notify_cb):
        gdk_event_put() copies the event and setting name,
        so we don't have to strdup() it here. (Fix from
        Michael Meeks, #81953)
This commit is contained in:
Owen Taylor 2002-05-16 16:54:03 +00:00 committed by Owen Taylor
parent ff784b978b
commit bcce8104ef
7 changed files with 43 additions and 1 deletions

View File

@ -1,3 +1,10 @@
Thu May 16 12:50:13 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c (gdk_xsettings_notify_cb):
gdk_event_put() copies the event and setting name,
so we don't have to strdup() it here. (Fix from
Michael Meeks, #81953)
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or

View File

@ -1,3 +1,10 @@
Thu May 16 12:50:13 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c (gdk_xsettings_notify_cb):
gdk_event_put() copies the event and setting name,
so we don't have to strdup() it here. (Fix from
Michael Meeks, #81953)
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or

View File

@ -1,3 +1,10 @@
Thu May 16 12:50:13 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c (gdk_xsettings_notify_cb):
gdk_event_put() copies the event and setting name,
so we don't have to strdup() it here. (Fix from
Michael Meeks, #81953)
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or

View File

@ -1,3 +1,10 @@
Thu May 16 12:50:13 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c (gdk_xsettings_notify_cb):
gdk_event_put() copies the event and setting name,
so we don't have to strdup() it here. (Fix from
Michael Meeks, #81953)
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or

View File

@ -1,3 +1,10 @@
Thu May 16 12:50:13 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c (gdk_xsettings_notify_cb):
gdk_event_put() copies the event and setting name,
so we don't have to strdup() it here. (Fix from
Michael Meeks, #81953)
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or

View File

@ -1,3 +1,10 @@
Thu May 16 12:50:13 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c (gdk_xsettings_notify_cb):
gdk_event_put() copies the event and setting name,
so we don't have to strdup() it here. (Fix from
Michael Meeks, #81953)
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or

View File

@ -2257,7 +2257,7 @@ gdk_xsettings_notify_cb (const char *name,
for (i = 0; i < G_N_ELEMENTS (settings_map) ; i++)
if (strcmp (settings_map[i].xsettings_name, name) == 0)
{
new_event.setting.name = g_strdup (settings_map[i].gdk_name);
new_event.setting.name = settings_map[i].gdk_name;
break;
}