Fix a couple of warnings

This commit is contained in:
Marco Pesenti Gritti 2006-10-25 16:41:58 +02:00
parent ec6272ff47
commit ccfb901a10
2 changed files with 2 additions and 2 deletions

View File

@ -649,7 +649,7 @@ sugar_address_entry_init(SugarAddressEntry *entry)
{
entry->progress = 0.0;
entry->address = NULL;
entry->title = NULL;
entry->title = g_strdup("");
g_signal_connect(entry, "focus-in-event",
G_CALLBACK(focus_in_event_cb), NULL);

View File

@ -279,7 +279,7 @@ net_state_cb(GtkMozEmbed *embed, const char *aURI, gint state, guint status)
sugar_browser_set_progress(browser, 0.03);
sugar_browser_set_loading(browser, TRUE);
} else if (state & GTK_MOZ_EMBED_FLAG_STOP) {
sugar_browser_set_progress(browser, 100.0);
sugar_browser_set_progress(browser, 1.0);
sugar_browser_set_loading(browser, FALSE);
}
}