[gnome-system-log] filter-manager: remove unnecessary cast
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-log] filter-manager: remove unnecessary cast
- Date: Fri, 18 Mar 2016 17:48:06 +0000 (UTC)
commit 22da1083bc56294365e95955327439a4aab15eb8
Author: Xavier Lehmann <xlehmann free fr>
Date: Fri Mar 18 10:34:37 2016 -0700
filter-manager: remove unnecessary cast
https://bugzilla.gnome.org/show_bug.cgi?id=763843
src/logview-filter-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/logview-filter-manager.c b/src/logview-filter-manager.c
index 753fc3a..18d68cc 100644
--- a/src/logview-filter-manager.c
+++ b/src/logview-filter-manager.c
@@ -212,7 +212,7 @@ on_dialog_add_edit_reponse (GtkWidget *dialog, int response_id,
GdkRGBA foreground_color;
gtk_color_chooser_get_rgba (GTK_COLOR_CHOOSER (color_foreground),
&foreground_color);
- g_object_set (G_OBJECT (tag),
+ g_object_set (tag,
"foreground-rgba", &foreground_color,
"foreground-set", TRUE, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]