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;
|
char * p;
|
||||||
(void) data;
|
(void) data;
|
||||||
|
|
||||||
|
if(condition != G_IO_IN)
|
||||||
|
return FALSE; /* should not happen */
|
||||||
status = g_io_channel_read_line(channel, &str, &length, NULL, &error);
|
status = g_io_channel_read_line(channel, &str, &length, NULL, &error);
|
||||||
switch(status)
|
switch(status)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user