Make the "URL properties" capplet behave politely in case of an initialization

error.
This commit is contained in:
Ettore Perazzoli 1999-06-11 20:34:21 +00:00
parent c500b14cf1
commit 59ec83d458
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
1999-06-11 Ettore Perazzoli <ettore@comm2000.it>
* url-properties.c: Return if `gnome_capplet_init()' returns an
error. Bug reported by Nicola Pero <n.pero@mi.flashnet.it>.
1999-05-16 Jacob Berkman <jberk+@cmu.edu>
* url-properties.c (url_capplet_commit): added a

View file

@ -44,6 +44,8 @@ main(int argc, char *argv[]) {
if (init_ret == 1) {
/* nothing to init */
return 0;
} else if (init_ret == -1) {
g_error (_("Error initializing the `url-properties' capplet."));
}
build_capplet();