return TRUE;
}
-static gboolean call_close_block(GtkWidget *object, gpointer data)
+static void call_close_block(GtkWidget *object, gpointer data)
{
jub_close_block_t block = data;
block();
-
- return FALSE;
}
@implementation JubGtkChatUI
#include <string.h>
-static gboolean roster_row_activated(GtkTreeView *tree_view, GtkTreePath *path,
+static void roster_row_activated(GtkTreeView *tree_view, GtkTreePath *path,
GtkTreeViewColumn *column, gpointer data)
{
JubGtkRosterUI *roster = data;
gtk_tree_model_get(tree_model, &row_iter, 1, &jid_s, -1);
// This was a group row
- if (!jid_s) return TRUE;
+ if (!jid_s) return;
pool = [OFAutoreleasePool new];
jid = [XMPPJID JIDWithString: [OFString stringWithUTF8String: jid_s]];
withObject: jid
waitUntilDone: NO];
[pool release];
-
- return TRUE;
}
static void presence_changed(GtkComboBox *combo_box, gpointer data)