25851e43cc
- remove maintainer per his request ok ajacoutot@ aaaaaages ago.
31 lines
671 B
Plaintext
31 lines
671 B
Plaintext
$OpenBSD: patch-callbacks_c,v 1.1 2010/03/20 16:53:53 jasper Exp $
|
|
|
|
Port to GTK+2. From Gentoo.
|
|
|
|
--- callbacks.c.orig Fri Jan 29 15:42:32 2010
|
|
+++ callbacks.c Fri Jan 29 15:43:03 2010
|
|
@@ -236,7 +236,7 @@ void sethash(unsigned short new)
|
|
}
|
|
|
|
|
|
-void focus(GtkWidget *widget, gpointer data)
|
|
+gboolean focus(GtkWidget *widget, GdkEvent *event, gpointer data)
|
|
{
|
|
|
|
static GdkAtom targets;
|
|
@@ -244,12 +244,12 @@ void focus(GtkWidget *widget, gpointer data)
|
|
|
|
|
|
if (!autopaste)
|
|
- return;
|
|
+ return FALSE;
|
|
|
|
targets = gdk_atom_intern("STRING", FALSE);
|
|
|
|
gtk_selection_convert(widget, GDK_SELECTION_PRIMARY, targets,
|
|
GDK_CURRENT_TIME);
|
|
|
|
-
|
|
+ return FALSE;
|
|
}
|