[Xfce4-commits] [xfce/xfce4-settings] 01/01: Fix typecasting
noreply at xfce.org
noreply at xfce.org
Fri Jan 31 15:46:05 CET 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 94be6f880ab34f0488183c1ef60ae68ffb31f617
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Fri Jan 31 15:45:40 2020 +0100
Fix typecasting
Also replace a few tabs with spaces.
---
xfce4-settings-editor/xfce-settings-editor-box.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/xfce4-settings-editor/xfce-settings-editor-box.c b/xfce4-settings-editor/xfce-settings-editor-box.c
index a802155..b334c2d 100644
--- a/xfce4-settings-editor/xfce-settings-editor-box.c
+++ b/xfce4-settings-editor/xfce-settings-editor-box.c
@@ -67,7 +67,7 @@ struct _XfceSettingsEditorBox
GtkWidget *button_edit;
GtkWidget *button_reset;
- gint paned_pos;
+ gint paned_pos;
};
@@ -200,12 +200,12 @@ xfce_settings_editor_box_init (XfceSettingsEditorBox *self)
CHANNEL_COLUMN_NAME, GTK_SORT_ASCENDING);
self->props_store = gtk_tree_store_new (N_PROP_COLUMNS,
- G_TYPE_STRING,
- G_TYPE_STRING,
- G_TYPE_STRING,
- G_TYPE_STRING,
- G_TYPE_BOOLEAN,
- G_TYPE_VALUE);
+ G_TYPE_STRING,
+ G_TYPE_STRING,
+ G_TYPE_STRING,
+ G_TYPE_STRING,
+ G_TYPE_BOOLEAN,
+ G_TYPE_VALUE);
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (self->props_store),
PROP_COLUMN_NAME, GTK_SORT_ASCENDING);
self->paned = paned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
@@ -218,7 +218,7 @@ xfce_settings_editor_box_init (XfceSettingsEditorBox *self)
/* Style the GtkPaned */
gtk_paned_set_wide_handle (GTK_PANED (paned), TRUE);
provider = gtk_css_provider_new ();
- gtk_css_provider_load_from_data (provider,
+ gtk_css_provider_load_from_data (provider,
"paned > separator.wide { background:transparent; }", -1, NULL);
gtk_style_context_add_provider (gtk_widget_get_style_context (paned),
GTK_STYLE_PROVIDER (provider), GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
@@ -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 (button, image);
+ gtk_button_set_image (GTK_BUTTON (button), GTK_IMAGE (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 (button, image);
+ gtk_button_set_image (GTK_BUTTON (button), GTK_IMAGE (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