Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
chatty
Commits
80d0c7da
Commit
80d0c7da
authored
Nov 20, 2018
by
Andrea Schaefer
Browse files
Remove clear-entry function
parent
09576107
Pipeline
#1960
passed with stage
in 1 minute and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/chatty-buddy-list.c
View file @
80d0c7da
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
static
ChattyBuddyList
*
_chatty_blist
=
NULL
;
static
ChattyBuddyList
*
_chatty_blist
=
NULL
;
static
void
chatty_blist_new_node
(
PurpleBlistNode
*
node
);
static
void
chatty_blist_new_node
(
PurpleBlistNode
*
node
);
static
void
chatty_blist_add_buddy_clear_entries
(
void
);
static
void
chatty_blist_queue_refilter
(
GtkTreeModelFilter
*
filter
);
static
void
chatty_blist_queue_refilter
(
GtkTreeModelFilter
*
filter
);
static
void
chatty_blist_update
(
PurpleBuddyList
*
list
,
static
void
chatty_blist_update
(
PurpleBuddyList
*
list
,
...
@@ -138,7 +137,7 @@ cb_button_new_conversation_clicked (GtkButton *sender,
...
@@ -138,7 +137,7 @@ cb_button_new_conversation_clicked (GtkButton *sender,
chatty_blist_add_buddy
(
account
);
chatty_blist_add_buddy
(
account
);
chatty_window_change_view
(
CHATTY_VIEW_CHAT_LIST
);
chatty_window_change_view
(
CHATTY_VIEW_CHAT_LIST
);
chatty_blist_add_buddy_clear_entries
();
gtk_container_foreach
(
GTK_CONTAINER
(
chatty
->
pane_view_new_contact
),
gtk_container_foreach
(
GTK_CONTAINER
(
chatty
->
pane_view_new_contact
),
(
GtkCallback
)
gtk_widget_destroy
,
NULL
);
(
GtkCallback
)
gtk_widget_destroy
,
NULL
);
}
}
...
@@ -671,15 +670,6 @@ chatty_blist_returned_from_chat (void)
...
@@ -671,15 +670,6 @@ chatty_blist_returned_from_chat (void)
}
}
static
void
chatty_blist_add_buddy_clear_entries
(
void
)
{
chatty_data_t
*
chatty
=
chatty_get_data
();
gtk_entry_set_text
(
GTK_ENTRY
(
chatty
->
entry_buddy_name
),
""
);
gtk_entry_set_text
(
GTK_ENTRY
(
chatty
->
entry_buddy_nick
),
""
);
}
/**
/**
* chatty_blist_create_add_buddy_view:
* chatty_blist_create_add_buddy_view:
*
*
...
...
Guido Gunther
@guido.gunther
mentioned in issue
#53 (closed)
·
Nov 20, 2018
mentioned in issue
#53 (closed)
mentioned in issue #53
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment