$OpenBSD: patch-src_gui_histogram_c,v 1.1.1.1 2010/09/17 21:37:19 sthen Exp $

missing sentinel in function call; pushed upstream

--- src/gui/histogram.c.orig	Fri Aug 27 17:46:31 2010
+++ src/gui/histogram.c	Fri Sep 17 00:05:07 2010
@@ -30,7 +30,7 @@ void dt_gui_histogram_init(dt_gui_histogram_t *n, GtkW
   n->dragging = 0;
   n->exposure = NULL;
   gtk_object_set(GTK_OBJECT(widget), "tooltip-text",
-      _("drag to change exposure,\ndoubleclick resets"), NULL);
+      _("drag to change exposure,\ndoubleclick resets"), (char *)NULL);
   g_signal_connect (G_OBJECT (widget), "expose-event",
                     G_CALLBACK (dt_gui_histogram_expose), n);
   g_signal_connect (G_OBJECT (widget), "button-press-event",
@@ -176,12 +176,12 @@ gboolean dt_gui_histogram_motion_notify(GtkWidget *wid
     else if(pos < 0.2)
     {
       n->highlight = 1;
-      gtk_object_set(GTK_OBJECT(widget), "tooltip-text", _("drag to change black point,\ndoubleclick resets"), NULL);
+      gtk_object_set(GTK_OBJECT(widget), "tooltip-text", _("drag to change black point,\ndoubleclick resets"), (char *)NULL);
     }
     else
     {
       n->highlight = 2;
-      gtk_object_set(GTK_OBJECT(widget), "tooltip-text", _("drag to change exposure,\ndoubleclick resets"), NULL);
+      gtk_object_set(GTK_OBJECT(widget), "tooltip-text", _("drag to change exposure,\ndoubleclick resets"), (char *)NULL);
     }
     gtk_widget_queue_draw(widget);
   }
