Commit dcc515c8 authored by Darin Adler's avatar Darin Adler

After talking to John, removed the asserts from both of these routines.

	* fm-directory-view-icons.c:
	(fm_directory_view_icons_get_full_icon_text_attribute_names):
	(fm_directory_view_icons_set_full_icon_text_attribute_names):
	After talking to John, removed the asserts from both of these
	routines. Later, he'll figure out whether this needs refinement,
	but for now we just want to avoid the abort on startup!
parent c11b6253
2000-02-09 Darin Adler <darin@eazel.com>
* fm-directory-view-icons.c:
(fm_directory_view_icons_get_full_icon_text_attribute_names):
(fm_directory_view_icons_set_full_icon_text_attribute_names):
After talking to John, removed the asserts from both of these
routines. Later, he'll figure out whether this needs refinement,
but for now we just want to avoid the abort on startup!
2000-02-09 Darin Adler <darin@eazel.com>
Reworked the canvas item class used by the icon
......
......@@ -467,11 +467,6 @@ fm_directory_view_icons_get_full_icon_text_attribute_names (FMDirectoryViewIcons
* for consistency and possible future expansion.
*/
/* Don't let callers get away with using a non-NULL value here since
* it probably means they're expecting something directory-specific.
*/
g_assert (view == NULL);
return g_strdup (default_icon_text_attribute_names);
}
......@@ -496,11 +491,8 @@ fm_directory_view_icons_set_full_icon_text_attribute_names (FMDirectoryViewIcons
* for consistency and possible future expansion.
*/
/* Don't let callers get away with using a non-NULL value here since
* it probably means they're expecting something directory-specific.
*/
g_assert (view == NULL);
g_return_if_fail (new_names != NULL);
if (strcmp (new_names, default_icon_text_attribute_names) == 0)
return;
......
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