[Xfce4-commits] [xfce/xfce4-panel] 02/04: panel-item-dialog: Fix typecasting
noreply at xfce.org
noreply at xfce.org
Fri Apr 14 12:57:58 CEST 2017
This is an automated email from the git hooks/post-receive script.
ochosi pushed a commit to branch master
in repository xfce/xfce4-panel.
commit 6d51df7858307b34f2bd6b3dafd235c5c89b99d4
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Fri Apr 14 12:32:11 2017 +0200
panel-item-dialog: Fix typecasting
---
panel/panel-item-dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panel/panel-item-dialog.c b/panel/panel-item-dialog.c
index 4bf85ae..bf95558 100644
--- a/panel/panel-item-dialog.c
+++ b/panel/panel-item-dialog.c
@@ -196,7 +196,7 @@ panel_item_dialog_init (PanelItemDialog *dialog)
icon = gtk_image_new_from_icon_name ("list-add", GTK_ICON_SIZE_BUTTON);
dialog->add_button = gtk_button_new_with_mnemonic ("_Add");
- gtk_button_set_image (dialog->add_button, GTK_IMAGE (icon));
+ gtk_button_set_image (GTK_BUTTON (dialog->add_button), icon);
gtk_widget_show_all (dialog->add_button);
gtk_dialog_add_button (GTK_DIALOG (dialog), _("Help"), GTK_RESPONSE_HELP);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list