1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Fix build on 4.x

Approved by: maintainer
This commit is contained in:
Volker Stolz 2005-07-29 07:29:37 +00:00
parent 2b684fdf1f
commit afd8382fb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140376

View File

@ -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));
}