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

missing sentinel in function call; pushed upstream

--- src/views/darkroom.c.orig	Thu Sep 16 22:43:56 2010
+++ src/views/darkroom.c	Thu Sep 16 22:43:56 2010
@@ -267,7 +267,7 @@ static void module_show_callback(GtkToggleButton *togg
     gtk_expander_set_expanded(module->expander, FALSE);
     snprintf(option, 512, _("show %s"), module->name());
   }
-  gtk_object_set(GTK_OBJECT(module->showhide), "tooltip-text", option, NULL);
+  gtk_object_set(GTK_OBJECT(module->showhide), "tooltip-text", option, (char *)NULL);
 }
 
 
@@ -367,7 +367,7 @@ dt_dev_change_image(dt_develop_t *dev, dt_image_t *ima
       GtkWidget *exp = GTK_WIDGET(module->expander);
       GtkWidget *shh = GTK_WIDGET(module->showhide);
       GtkWidget *parent = NULL;
-      g_object_get(G_OBJECT(module->widget), "parent", &parent, NULL);
+      g_object_get(G_OBJECT(module->widget), "parent", &parent, (char *)NULL);
       // re-init and re-gui_init
       module->gui_cleanup(module);
       module->cleanup(module);
