Wrapped moo_overwrite_file_dialog
This commit is contained in:
parent
44422ce5df
commit
3231ba1c29
@ -433,6 +433,16 @@
|
||||
)
|
||||
)
|
||||
|
||||
(define-function overwrite_file_dialog
|
||||
(c-name "moo_overwrite_file_dialog")
|
||||
(return-type "gboolean")
|
||||
(parameters
|
||||
'("GtkWidget*" "parent" (null-ok) (default "NULL"))
|
||||
'("const-char*" "display_name")
|
||||
'("const-char*" "display_dirname")
|
||||
)
|
||||
)
|
||||
|
||||
(define-function error_dialog
|
||||
(c-name "moo_error_dialog")
|
||||
(return-type "none")
|
||||
|
@ -285,6 +285,7 @@ moo_overwrite_file_dialog (GtkWidget *parent,
|
||||
GtkWidget *dialog, *button, *toplevel = NULL;
|
||||
|
||||
g_return_val_if_fail (display_name != NULL, FALSE);
|
||||
g_return_val_if_fail (display_dirname != NULL, FALSE);
|
||||
|
||||
if (parent)
|
||||
parent = gtk_widget_get_toplevel (parent);
|
||||
|
Loading…
x
Reference in New Issue
Block a user