openbsd-ports/x11/gnomemm/patches/patch-src_procbar_gen_h
2002-12-17 09:45:44 +00:00

15 lines
612 B
Plaintext

$OpenBSD: patch-src_procbar_gen_h,v 1.1 2002/12/17 09:45:44 wilfried Exp $
--- src/procbar.gen_h.orig Tue Jul 16 14:11:55 2002
+++ src/procbar.gen_h Mon Dec 16 18:24:08 2002
@@ -80,9 +80,7 @@ ProcBar::ProcBar(const Gtk::Label &label
update_internal_gdk_colors(colors);
- //The callback signature is wrong but we shouldn't change it in a stable API,
- //though I think that gnome-libs did.
- typedef gint (* type_correctcallback)(gpointer);
+ typedef gint (* type_correctcallback)();
gnome_proc_bar_construct(gtkobj(),
GTK_WIDGET(const_cast<GtkLabel*>(label.gtkobj())),
colors.size(),