summaryrefslogtreecommitdiffstats
path: root/gtk/spice-widget-priv.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2011-03-31 21:51:49 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2011-03-31 21:51:49 +0200
commita35743f299917765d924d461e6f2605886a1bd0d (patch)
treecc20b60f67e1b6de0398cb781db99581b30c2031 /gtk/spice-widget-priv.h
parent818f3fded3d2dcbd61e111611a9ac5f213a89680 (diff)
downloadspice-gtk-a35743f299917765d924d461e6f2605886a1bd0d.tar.gz
spice-gtk-a35743f299917765d924d461e6f2605886a1bd0d.tar.xz
spice-gtk-a35743f299917765d924d461e6f2605886a1bd0d.zip
gtk: correct CLIPBOARD_LAST so that array are sized correctly
Diffstat (limited to 'gtk/spice-widget-priv.h')
-rw-r--r--gtk/spice-widget-priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/spice-widget-priv.h b/gtk/spice-widget-priv.h
index 92cb347..40e0ac1 100644
--- a/gtk/spice-widget-priv.h
+++ b/gtk/spice-widget-priv.h
@@ -37,7 +37,7 @@ G_BEGIN_DECLS
#define SPICE_DISPLAY_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_DISPLAY, spice_display))
-#define CLIPBOARD_LAST VD_AGENT_CLIPBOARD_SELECTION_PRIMARY
+#define CLIPBOARD_LAST (VD_AGENT_CLIPBOARD_SELECTION_SECONDARY + 1)
struct spice_display {
gint channel_id;