[gtk/matthiasc/for-master] Fix gtk_file_chooser_error_stack_set_custom_error



commit 67bd6433f44b6932a0786c812b1dc79ef7bf49f7
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jul 12 10:43:51 2020 -0400

    Fix gtk_file_chooser_error_stack_set_custom_error
    
    This never worked, due to a typo.

 gtk/gtkfilechoosererrorstack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkfilechoosererrorstack.c b/gtk/gtkfilechoosererrorstack.c
index 9020946626..6f9cf89d22 100644
--- a/gtk/gtkfilechoosererrorstack.c
+++ b/gtk/gtkfilechoosererrorstack.c
@@ -148,7 +148,7 @@ void
 gtk_file_chooser_error_stack_set_custom_error  (GtkFileChooserErrorStack *self,
                                                 const char               *label_text)
 {
-  GtkWidget *label = gtk_stack_get_child_by_name (GTK_STACK (self->stack), "cutsom");
+  GtkWidget *label = gtk_stack_get_child_by_name (GTK_STACK (self->stack), "custom");
 
   gtk_label_set_text (GTK_LABEL (label), label_text);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]