Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Nikita Churaev
gtk
Commits
0d04bd7f
Commit
0d04bd7f
authored
Mar 26, 2006
by
Matthias Clasen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small optimization
parent
d828e504
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
ChangeLog
ChangeLog
+5
-0
ChangeLog.pre-2-10
ChangeLog.pre-2-10
+5
-0
gtk/gtkcellrenderertext.c
gtk/gtkcellrenderertext.c
+1
-8
No files found.
ChangeLog
View file @
0d04bd7f
2006-03-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderertext.c (gtk_cell_render_text_get_property):
Avoid an unnecessary strdup. (#336013)
2006-03-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_value_changed): Don't call
...
...
ChangeLog.pre-2-10
View file @
0d04bd7f
2006-03-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderertext.c (gtk_cell_render_text_get_property):
Avoid an unnecessary strdup. (#336013)
2006-03-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_value_changed): Don't call
...
...
gtk/gtkcellrenderertext.c
View file @
0d04bd7f
...
...
@@ -689,14 +689,7 @@ gtk_cell_renderer_text_get_property (GObject *object,
break
;
case
PROP_FONT
:
{
/* FIXME GValue imposes a totally gratuitous string copy
* here, we could just hand off string ownership
*/
gchar
*
str
=
pango_font_description_to_string
(
celltext
->
font
);
g_value_set_string
(
value
,
str
);
g_free
(
str
);
}
g_value_take_string
(
value
,
pango_font_description_to_string
(
celltext
->
font
);
break
;
case
PROP_FONT_DESC
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment