* gtk/gtkwindow.c (gtk_window_move_resize): Unset
initial_pos_set after the first configure request.
+2002-01-13 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtktexttag.c (get_color_arg) : set_boxed will copy the color
+ and will use a mem_chunk to do it. Avoid an unnecessary copy, a
+ leak, and confusion.
+
Sun Jan 13 23:23:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
* gtk/gtkwindow.c (gtk_window_move_resize): Unset
initial_pos_set after the first configure request.
+2002-01-13 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtktexttag.c (get_color_arg) : set_boxed will copy the color
+ and will use a mem_chunk to do it. Avoid an unnecessary copy, a
+ leak, and confusion.
+
Sun Jan 13 23:23:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
* gtk/gtkwindow.c (gtk_window_move_resize): Unset
initial_pos_set after the first configure request.
+2002-01-13 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtktexttag.c (get_color_arg) : set_boxed will copy the color
+ and will use a mem_chunk to do it. Avoid an unnecessary copy, a
+ leak, and confusion.
+
Sun Jan 13 23:23:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
* gtk/gtkwindow.c (gtk_window_move_resize): Unset
initial_pos_set after the first configure request.
+2002-01-13 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtktexttag.c (get_color_arg) : set_boxed will copy the color
+ and will use a mem_chunk to do it. Avoid an unnecessary copy, a
+ leak, and confusion.
+
Sun Jan 13 23:23:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
* gtk/gtkwindow.c (gtk_window_move_resize): Unset
initial_pos_set after the first configure request.
+2002-01-13 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtktexttag.c (get_color_arg) : set_boxed will copy the color
+ and will use a mem_chunk to do it. Avoid an unnecessary copy, a
+ leak, and confusion.
+
Sun Jan 13 23:23:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
* gtk/gtkwindow.c (gtk_window_move_resize): Unset
initial_pos_set after the first configure request.
+2002-01-13 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtktexttag.c (get_color_arg) : set_boxed will copy the color
+ and will use a mem_chunk to do it. Avoid an unnecessary copy, a
+ leak, and confusion.
+
Sun Jan 13 23:23:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
* gtk/gtkwindow.c (gtk_window_move_resize): Unset
initial_pos_set after the first configure request.
+2002-01-13 Jody Goldberg <jody@gnome.org>
+
+ * gtk/gtktexttag.c (get_color_arg) : set_boxed will copy the color
+ and will use a mem_chunk to do it. Avoid an unnecessary copy, a
+ leak, and confusion.
+
Sun Jan 13 23:23:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
static void
get_color_arg (GValue *value, GdkColor *orig)
{
- GdkColor *color;
-
- color = g_new (GdkColor, 1);
- *color = *orig;
g_value_init (value, GDK_TYPE_COLOR);
- g_value_set_boxed (value, color);
+ g_value_set_boxed (value, orig);
}
static void