summaryrefslogtreecommitdiff
path: root/shell/ev-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 066655d9..b82d137f 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -7052,7 +7052,7 @@ ev_view_popup_cmd_annot_properties (GtkAction *action,
if (window->priv->document->iswebdocument == TRUE ) return;
const gchar *author;
- GdkColor color;
+ GdkRGBA rgba;
gdouble opacity;
gboolean popup_is_open;
EvAnnotationPropertiesDialog *dialog;
@@ -7075,8 +7075,8 @@ ev_view_popup_cmd_annot_properties (GtkAction *action,
if (ev_annotation_markup_set_label (EV_ANNOTATION_MARKUP (annot), author))
mask |= EV_ANNOTATIONS_SAVE_LABEL;
- ev_annotation_properties_dialog_get_color (dialog, &color);
- if (ev_annotation_set_color (annot, &color))
+ ev_annotation_properties_dialog_get_rgba (dialog, &rgba);
+ if (ev_annotation_set_rgba (annot, &rgba))
mask |= EV_ANNOTATIONS_SAVE_COLOR;
opacity = ev_annotation_properties_dialog_get_opacity (dialog);