summaryrefslogtreecommitdiff
path: root/src/msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/msg.c')
-rw-r--r--src/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/msg.c b/src/msg.c
index ca14d86..496fe18 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -206,8 +206,8 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data) {
// however, 60 would increase the distance between the icon and the
// text,
// decreasing to 10 fix it.
- gtk_label_set_width_chars (text, 10);
- gtk_label_set_max_width_chars (text, 10);
+ gtk_label_set_width_chars (GTK_LABEL (text), 10);
+ gtk_label_set_max_width_chars (GTK_LABEL (text), 10);
}
if (data->modal)