darktable is a virtual lighttable and darkroom for photographers: it manages your digital negatives in a database and lets you view them through a zoomable lighttable. It also enables you to develop raw images and enhance them. It tries to fill the gap between the many excellent existing free raw converters and image management tools (such as ufraw or f-spot). All editing is fully non-destructive and only operates on cached image buffers for display. The full image is only converted during export. Raw files, high-dynamic range and standard image formats such as jpeg are all supported. The core operates completely on floating point values, so darktable can not only be used for photography but also for scientifically acquired images or output of renderers (high dynamic range).
36 lines
2.2 KiB
Plaintext
36 lines
2.2 KiB
Plaintext
$OpenBSD: patch-src_develop_imageop_c,v 1.1.1.1 2010/09/17 21:37:19 sthen Exp $
|
|
|
|
missing sentinel in function call; pushed upstream
|
|
|
|
--- src/develop/imageop.c.orig Fri Aug 27 17:46:31 2010
|
|
+++ src/develop/imageop.c Thu Sep 16 23:55:56 2010
|
|
@@ -314,7 +314,7 @@ void dt_iop_gui_off_callback(GtkToggleButton *togglebu
|
|
}
|
|
char tooltip[512];
|
|
snprintf(tooltip, 512, module->enabled ? _("%s is switched on") : _("%s is switched off"), module->name());
|
|
- gtk_object_set(GTK_OBJECT(togglebutton), "tooltip-text", tooltip, NULL);
|
|
+ gtk_object_set(GTK_OBJECT(togglebutton), "tooltip-text", tooltip, (char *)NULL);
|
|
}
|
|
|
|
static void dt_iop_gui_expander_callback(GObject *object, GParamSpec *param_spec, gpointer user_data)
|
|
@@ -409,7 +409,7 @@ GtkWidget *dt_iop_gui_get_expander(dt_iop_module_t *mo
|
|
GtkDarktableToggleButton *button = DTGTK_TOGGLEBUTTON(dtgtk_togglebutton_new(dtgtk_cairo_paint_switch,0));
|
|
char tooltip[512];
|
|
snprintf(tooltip, 512, module->enabled ? _("%s is switched on") : _("%s is switched off"), module->name());
|
|
- gtk_object_set(GTK_OBJECT(button), "tooltip-text", tooltip, NULL);
|
|
+ gtk_object_set(GTK_OBJECT(button), "tooltip-text", tooltip, (char *)NULL);
|
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), module->enabled);
|
|
gtk_box_pack_start(GTK_BOX(hbox), GTK_WIDGET(button), FALSE, FALSE, 0);
|
|
g_signal_connect (G_OBJECT (button), "toggled",
|
|
@@ -422,8 +422,8 @@ GtkWidget *dt_iop_gui_get_expander(dt_iop_module_t *mo
|
|
GtkDarktableButton *presetsbutton = DTGTK_BUTTON(dtgtk_button_new(dtgtk_cairo_paint_presets,0));
|
|
gtk_widget_set_size_request(GTK_WIDGET(presetsbutton),13,13);
|
|
gtk_widget_set_size_request(GTK_WIDGET(resetbutton),13,13);
|
|
- gtk_object_set(GTK_OBJECT(resetbutton), "tooltip-text", _("reset parameters"), NULL);
|
|
- gtk_object_set(GTK_OBJECT(presetsbutton), "tooltip-text", _("presets"), NULL);
|
|
+ gtk_object_set(GTK_OBJECT(resetbutton), "tooltip-text", _("reset parameters"), (char *)NULL);
|
|
+ gtk_object_set(GTK_OBJECT(presetsbutton), "tooltip-text", _("presets"), (char *)NULL);
|
|
gtk_box_pack_end (GTK_BOX(hbox), GTK_WIDGET(resetbutton), FALSE, FALSE, 0);
|
|
gtk_box_pack_end (GTK_BOX(hbox), GTK_WIDGET(presetsbutton), FALSE, FALSE, 0);
|
|
gtk_box_pack_start(GTK_BOX(vbox), GTK_WIDGET(hbox), TRUE, TRUE, 0);
|