Fix a couple of warnings
This commit is contained in:
parent
ec6272ff47
commit
ccfb901a10
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user