Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
5c62a90e
Commit
5c62a90e
authored
Jan 12, 2006
by
Matthias Clasen
Browse files
Fix a C99ism
parent
b8b1e8ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
5c62a90e
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c: Fix a C99ism (#326658, Kazuki Iwamoto)
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c: Add some notify batching, always
...
...
ChangeLog.pre-2-10
View file @
5c62a90e
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c: Fix a C99ism (#326658, Kazuki Iwamoto)
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c: Add some notify batching, always
...
...
gtk/gtklabel.c
View file @
5c62a90e
...
...
@@ -1794,11 +1794,12 @@ get_label_wrap_width (GtkLabel *label)
PangoLayout
*
layout
;
GtkStyle
*
style
=
GTK_WIDGET
(
label
)
->
style
;
static
GQuark
quark_label_wrap_width
=
0
;
LabelWrapWidth
*
wrap_width
;
if
(
quark_label_wrap_width
==
0
)
quark_label_wrap_width
=
g_quark_from_static_string
(
"gtk-label-wrap-width"
);
LabelWrapWidth
*
wrap_width
=
g_object_get_qdata
(
G_OBJECT
(
style
),
quark_label_wrap_width
);
wrap_width
=
g_object_get_qdata
(
G_OBJECT
(
style
),
quark_label_wrap_width
);
if
(
!
wrap_width
)
{
wrap_width
=
g_slice_new0
(
LabelWrapWidth
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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