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:
@ -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>
|
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
|
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
|
||||||
|
|||||||
@ -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>
|
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
|
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
|
||||||
|
|||||||
@ -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>
|
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
|
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
|
||||||
|
|||||||
@ -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>
|
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
|
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
|
||||||
|
|||||||
@ -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>
|
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
|
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
|
||||||
|
|||||||
@ -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>
|
2002-05-16 Ettore Perazzoli <ettore@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
|
* gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
|
||||||
|
|||||||
@ -2257,7 +2257,7 @@ gdk_xsettings_notify_cb (const char *name,
|
|||||||
for (i = 0; i < G_N_ELEMENTS (settings_map) ; i++)
|
for (i = 0; i < G_N_ELEMENTS (settings_map) ; i++)
|
||||||
if (strcmp (settings_map[i].xsettings_name, name) == 0)
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user