Commit 9a9f4591 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Removed unused variable, fixed minor memory leak.

Tue Dec 15 09:22:44 1998  Owen Taylor  <otaylor@gtk.org>

	* gtk/gtkrc.c (gtk_rc_init): Removed unused
	variable, fixed minor memory leak.

	* gdk/gdk.c: Fixed another merge problem.
parent a2fc714a
Tue Dec 15 09:22:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkrc.c (gtk_rc_init): Removed unused
variable, fixed minor memory leak.
* gdk/gdk.c: Fixed another merge problem.
Tue Dec 15 08:53:38 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_get_display): Remove gdk_signal,
......
Tue Dec 15 09:22:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkrc.c (gtk_rc_init): Removed unused
variable, fixed minor memory leak.
* gdk/gdk.c: Fixed another merge problem.
Tue Dec 15 08:53:38 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_get_display): Remove gdk_signal,
......
Tue Dec 15 09:22:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkrc.c (gtk_rc_init): Removed unused
variable, fixed minor memory leak.
* gdk/gdk.c: Fixed another merge problem.
Tue Dec 15 08:53:38 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_get_display): Remove gdk_signal,
......
Tue Dec 15 09:22:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkrc.c (gtk_rc_init): Removed unused
variable, fixed minor memory leak.
* gdk/gdk.c: Fixed another merge problem.
Tue Dec 15 08:53:38 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_get_display): Remove gdk_signal,
......
Tue Dec 15 09:22:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkrc.c (gtk_rc_init): Removed unused
variable, fixed minor memory leak.
* gdk/gdk.c: Fixed another merge problem.
Tue Dec 15 08:53:38 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_get_display): Remove gdk_signal,
......
Tue Dec 15 09:22:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkrc.c (gtk_rc_init): Removed unused
variable, fixed minor memory leak.
* gdk/gdk.c: Fixed another merge problem.
Tue Dec 15 08:53:38 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_get_display): Remove gdk_signal,
......
Tue Dec 15 09:22:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkrc.c (gtk_rc_init): Removed unused
variable, fixed minor memory leak.
* gdk/gdk.c: Fixed another merge problem.
Tue Dec 15 08:53:38 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_get_display): Remove gdk_signal,
......
......@@ -1041,25 +1041,6 @@ gdk_x_io_error (Display *display)
return 0;
}
/* Sends a ClientMessage to all toplevel client windows */
gboolean
gdk_event_send_client_message (GdkEvent *event, guint32 xid)
{
XEvent sev;
g_return_val_if_fail(event != NULL, FALSE);
/* Set up our event to send, with the exception of its target window */
sev.xclient.type = ClientMessage;
sev.xclient.display = gdk_display;
sev.xclient.format = event->client.data_format;
sev.xclient.window = xid;
memcpy(&sev.xclient.data, &event->client.data, sizeof(sev.xclient.data));
sev.xclient.message_type = event->client.message_type;
return gdk_send_xevent (xid, False, NoEventMask, &sev);
}
gchar *
gdk_get_display(void)
{
......
......@@ -1041,25 +1041,6 @@ gdk_x_io_error (Display *display)
return 0;
}
/* Sends a ClientMessage to all toplevel client windows */
gboolean
gdk_event_send_client_message (GdkEvent *event, guint32 xid)
{
XEvent sev;
g_return_val_if_fail(event != NULL, FALSE);
/* Set up our event to send, with the exception of its target window */
sev.xclient.type = ClientMessage;
sev.xclient.display = gdk_display;
sev.xclient.format = event->client.data_format;
sev.xclient.window = xid;
memcpy(&sev.xclient.data, &event->client.data, sizeof(sev.xclient.data));
sev.xclient.message_type = event->client.message_type;
return gdk_send_xevent (xid, False, NoEventMask, &sev);
}
gchar *
gdk_get_display(void)
{
......
......@@ -449,12 +449,12 @@ gtk_rc_init (void)
*/
for (j=n_locale_suffixes-1; j>=0; j--)
{
struct stat statbuf;
gchar *name = g_strconcat (gtk_rc_default_files[i],
".",
locale_suffixes[j],
NULL);
gtk_rc_parse (name);
g_free (name);
}
gtk_rc_parse (gtk_rc_default_files[i]);
......
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