824bcdf586
Based on patch provided in PR 36317. gtkam 0.1.14 * fix make distcheck * misc bug fixes. * always show capture/capture preview menu. * updated various translations * changed for some important fixes in libgphoto2
18 lines
581 B
Text
18 lines
581 B
Text
$NetBSD: patch-aa,v 1.7 2007/08/19 10:53:19 obache Exp $
|
|
|
|
--- src/gtkam-chooser.c.orig 2006-12-14 18:38:12.000000000 +0000
|
|
+++ src/gtkam-chooser.c
|
|
@@ -405,9 +405,12 @@ on_detect_clicked (GtkButton *button, Gt
|
|
int result;
|
|
const char *name;
|
|
|
|
+ result = gp_list_new (&list);
|
|
+ if (result < GP_OK)
|
|
+ return;
|
|
+
|
|
status = gtkam_status_new (_("Detecting cameras..."));
|
|
gtkam_dialog_add_status (GTKAM_DIALOG (chooser), status);
|
|
- gp_list_new (&list);
|
|
result = gp_abilities_list_detect (chooser->priv->al,
|
|
chooser->priv->il, list,
|
|
GTKAM_STATUS (status)->context->context);
|