[goffice] Compilation: fix warning.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Compilation: fix warning.
- Date: Thu, 14 Feb 2013 19:08:01 +0000 (UTC)
commit 3171a1edd141bf2d3903d3841ae1afe87e3d30f7
Author: Morten Welinder <terra gnome org>
Date: Thu Feb 14 14:07:49 2013 -0500
Compilation: fix warning.
ChangeLog | 5 +++++
goffice/gtk/go-color-selector.c | 2 --
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3ffd81c..2f9b5fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-14 Morten Welinder <terra gnome org>
+
+ * goffice/gtk/go-color-selector.c (cb_color_dialog_response): Kill
+ warning.
+
2013-02-14 Jean Brefort <jean brefort normalesup org>
* configure.ac: bump Gtk+ requirement to 3.2.0.
diff --git a/goffice/gtk/go-color-selector.c b/goffice/gtk/go-color-selector.c
index 6efb4db..3951d0b 100644
--- a/goffice/gtk/go-color-selector.c
+++ b/goffice/gtk/go-color-selector.c
@@ -159,13 +159,11 @@ cb_color_dialog_response (GtkColorSelectionDialog *color_dialog,
color_selection = gtk_color_selection_dialog_get_color_selection (GTK_COLOR_SELECTION_DIALOG
(color_dialog));
if (response == GTK_RESPONSE_OK) {
- GOColorSelectorState *state;
GdkRGBA gdk_color;
GOColor color;
gtk_color_selection_get_current_rgba (GTK_COLOR_SELECTION (color_selection),
&gdk_color);
- state = go_selector_get_user_data (selector);
color = GO_COLOR_FROM_GDK_RGBA (gdk_color);
if (!go_color_selector_set_color (selector, color))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]