panel-embed: avoid a compilation warning
This commit is contained in:
parent
9b08cd5fbb
commit
97365e4e3e
|
@ -96,6 +96,8 @@ static gboolean _embed_on_can_read(GIOChannel * channel, GIOCondition condition,
|
|||
char * p;
|
||||
(void) data;
|
||||
|
||||
if(condition != G_IO_IN)
|
||||
return FALSE; /* should not happen */
|
||||
status = g_io_channel_read_line(channel, &str, &length, NULL, &error);
|
||||
switch(status)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user