blah, test things _before_ I commit.

2002-06-26  Jody Goldberg <jody@gnome.org>

	* file-types-capplet.c (main) : blah, test things _before_ I commit.
This commit is contained in:
Jody Goldberg 2002-06-26 14:34:22 +00:00 committed by Jody Goldberg
parent e15d737a93
commit 5651fb510e
2 changed files with 8 additions and 6 deletions

View file

@ -1,3 +1,7 @@
2002-06-26 Jody Goldberg <jody@gnome.org>
* file-types-capplet.c (main) : blah, test things _before_ I commit.
2002-06-25 Jody Goldberg <jody@gnome.org> 2002-06-25 Jody Goldberg <jody@gnome.org>
* mime-edit-dialog.c (mime_add_dialog_new) : add de * mime-edit-dialog.c (mime_add_dialog_new) : add de

View file

@ -288,12 +288,10 @@ main (int argc, char **argv)
if (popt_ctxt) { if (popt_ctxt) {
const gchar **startup_files = poptGetArgs (popt_ctxt); const gchar **startup_files = poptGetArgs (popt_ctxt);
mime_type = startup_files [0]; if (startup_files != NULL) {
if (mime_type != NULL) { mime_type = startup_files [0];
puts (mime_type); if (mime_type != NULL)
file_name = startup_files [1]; file_name = startup_files [1];
if (file_name)
puts (file_name);
} }
} }