+2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
+
+ * registryd/registry.c
+ (desktop_add_application): Remove leak.
+ (desktop_remove_application): Remove leak.
+ (parser_event_type): Remove leak.
+
2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
* registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
} EventTypeCategory;
typedef struct {
- char *event_name;
+ const char *event_name;
EventTypeCategory type_cat;
GQuark major; /* from string segment[1] */
GQuark minor; /* from string segment[1]+segment[2] */
Accessibility_Event e;
CORBA_Environment ev;
- e.type = g_strdup ("object:children-changed:add");
+ e.type = "object:children-changed:add";
e.source = BONOBO_OBJREF (desktop);
e.detail1 = index;
e.detail2 = 0;
Accessibility_Event e;
CORBA_Environment ev;
- e.type = g_strdup ("object:children-changed:remove");
+ e.type = "object:children-changed:remove";
e.source = BONOBO_OBJREF (desktop);
e.detail1 = index;
e.detail2 = 0;
gchar *s;
split_string = g_strsplit (event_name, ":", 4);
- etype->event_name = g_strdup (event_name);
+ etype->event_name = event_name;
if (!g_ascii_strncasecmp (event_name, "focus:", 6))
{
if (BONOBO_EX (ctx->ev))
{
- return SPI_RE_ENTRANT_CONTINUE;;
+ return SPI_RE_ENTRANT_CONTINUE;
}
if ((*list) && (*list)->data == ls)