Commit 676316bb authored by Matthias Clasen's avatar Matthias Clasen

Avoid warnings when widgets are not created yet

This widget is created on-demand, so we can not unconditionally
set its sensitivity in some other place.
parent f6464707
......@@ -4096,7 +4096,8 @@ check_copy_file_location_sensitivity (GtkFileChooserDefault *impl)
else
active = TRUE;
gtk_widget_set_sensitive (impl->browse_files_popup_menu_copy_file_location_item, active);
if (impl->browse_files_popup_menu_copy_file_location_item)
gtk_widget_set_sensitive (impl->browse_files_popup_menu_copy_file_location_item, active);
}
/* Constructs the popup menu for the file list if needed */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment