aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-07-29 07:29:37 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-07-29 07:29:37 +0000
commitafd8382fb050e18e57dfca7361bed881095d9bc4 (patch)
tree39f71ba4c49b49f12f1847d7f6935cbfbc604266 /graphics
parent2b684fdf1f47dc9ba88236ea927cf99ef9840b8c (diff)
downloadports-afd8382fb050e18e57dfca7361bed881095d9bc4.tar.gz
ports-afd8382fb050e18e57dfca7361bed881095d9bc4.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gcolor2/files/patch-src_callbacks.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/gcolor2/files/patch-src_callbacks.c b/graphics/gcolor2/files/patch-src_callbacks.c
new file mode 100644
index 000000000000..c1982e0631c9
--- /dev/null
+++ b/graphics/gcolor2/files/patch-src_callbacks.c
@@ -0,0 +1,17 @@
+
+$FreeBSD$
+
+--- src/callbacks.c.orig
++++ src/callbacks.c
+@@ -166,9 +166,10 @@
+ void on_copy_color_to_clipboard_activate (GtkMenuItem *menuitem, gpointer user_data)
+ {
+ gchar* hex;
++ GtkClipboard *cb;
+
+ hex = hex_value (colorvalue);
+- GtkClipboard *cb = gtk_clipboard_get (gdk_atom_intern ("PRIMARY", FALSE));
++ cb = gtk_clipboard_get (gdk_atom_intern ("PRIMARY", FALSE));
+ gtk_clipboard_set_text (cb, hex, strlen (hex));
+ }
+