Code cleanup
This commit is contained in:
parent
688cc83bf0
commit
1a1d9e53de
@ -310,8 +310,8 @@ void surfer_delete(Surfer * surfer)
|
|||||||
/* surfer_set_location */
|
/* surfer_set_location */
|
||||||
void surfer_set_location(Surfer * surfer, char const * url)
|
void surfer_set_location(Surfer * surfer, char const * url)
|
||||||
{
|
{
|
||||||
GtkWidget * widget;
|
|
||||||
static int i = 0; /* XXX should be set per-window */
|
static int i = 0; /* XXX should be set per-window */
|
||||||
|
GtkWidget * widget;
|
||||||
|
|
||||||
widget = gtk_bin_get_child(GTK_BIN(surfer->tb_path));
|
widget = gtk_bin_get_child(GTK_BIN(surfer->tb_path));
|
||||||
gtk_entry_set_text(GTK_ENTRY(widget), url);
|
gtk_entry_set_text(GTK_ENTRY(widget), url);
|
||||||
|
Loading…
Reference in New Issue
Block a user