[Xfce4-commits] [xfce/xfce4-settings] 02/02: Fix cast warnings
noreply at xfce.org
noreply at xfce.org
Mon Apr 6 22:54:09 CEST 2020
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-settings.
commit 8475b0d6d237be88e7fd0085253b2d7936499e37
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Mon Apr 6 22:51:42 2020 +0200
Fix cast warnings
---
xfce4-settings-editor/xfce-settings-editor-box.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xfce4-settings-editor/xfce-settings-editor-box.c b/xfce4-settings-editor/xfce-settings-editor-box.c
index 3942095..f3bfbc0 100644
--- a/xfce4-settings-editor/xfce-settings-editor-box.c
+++ b/xfce4-settings-editor/xfce-settings-editor-box.c
@@ -322,7 +322,7 @@ xfce_settings_editor_box_init (XfceSettingsEditorBox *self)
button = gtk_button_new ();
image = gtk_image_new_from_icon_name ("list-add-symbolic", GTK_ICON_SIZE_BUTTON);
- gtk_button_set_image (GTK_BUTTON (button), GTK_IMAGE (image));
+ gtk_button_set_image (GTK_BUTTON (button), image);
gtk_container_add (GTK_CONTAINER (bbox), button);
gtk_button_box_set_child_non_homogeneous (GTK_BUTTON_BOX (bbox), button, TRUE);
gtk_widget_set_tooltip_text (button, _("New property"));
@@ -335,7 +335,7 @@ xfce_settings_editor_box_init (XfceSettingsEditorBox *self)
button = gtk_button_new ();
image = gtk_image_new_from_icon_name ("document-edit-symbolic", GTK_ICON_SIZE_BUTTON);
- gtk_button_set_image (GTK_BUTTON (button), GTK_IMAGE (image));
+ gtk_button_set_image (GTK_BUTTON (button), image);
gtk_container_add (GTK_CONTAINER (bbox), button);
gtk_button_box_set_child_non_homogeneous (GTK_BUTTON_BOX (bbox), button, TRUE);
gtk_widget_set_tooltip_text (button, _("Edit selected property"));
@@ -348,7 +348,7 @@ xfce_settings_editor_box_init (XfceSettingsEditorBox *self)
button = gtk_button_new ();
image = gtk_image_new_from_icon_name ("document-revert-symbolic", GTK_ICON_SIZE_BUTTON);
- gtk_button_set_image (GTK_BUTTON (button), GTK_IMAGE (image));
+ gtk_button_set_image (GTK_BUTTON (button), image);
gtk_container_add (GTK_CONTAINER (bbox), button);
gtk_button_box_set_child_non_homogeneous (GTK_BUTTON_BOX (bbox), button, TRUE);
gtk_widget_set_tooltip_text (button, _("Reset selected property"));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list