pidgin/pidgin

Merged gtkdoc-conversion branch
soc.2013.gobjectification.plugins
2014-02-02, Ankit Vani
02db93eb6506
Merged gtkdoc-conversion branch
--- a/pidgin/plugins/gevolution/assoc-buddy.c Sun Feb 02 00:11:23 2014 +0530
+++ b/pidgin/plugins/gevolution/assoc-buddy.c Sun Feb 02 00:22:57 2014 +0530
@@ -22,7 +22,6 @@
#include "gtkblist.h"
#include "pidgin.h"
#include "gtkutils.h"
-#include "gtkimhtml.h"
#include "debug.h"
@@ -204,8 +203,9 @@
-1);
/* See if this user has the buddy in its list. */
- protocol_field = gevo_protocol_get_field(purple_buddy_get_account(dialog->buddy),
- dialog->buddy);
+ protocol_field = gevo_protocol_get_field(
+ purple_buddy_get_account(dialog->buddy),
+ dialog->buddy);
if (protocol_field > 0)
{
@@ -215,7 +215,8 @@
for (l = ims; l != NULL; l = l->next)
{
- if (!strcmp(l->data, purple_buddy_get_name(dialog->buddy)))
+ if (!strcmp(l->data,
+ purple_buddy_get_name(dialog->buddy)))
{
GtkTreeSelection *selection;
@@ -253,9 +254,10 @@
static void
new_person_cb(GtkWidget *w, GevoAssociateBuddyDialog *dialog)
{
- gevo_new_person_dialog_show(dialog->book, NULL, purple_buddy_get_account(dialog->buddy),
- purple_buddy_get_name(dialog->buddy), NULL, dialog->buddy,
- TRUE);
+ gevo_new_person_dialog_show(dialog->book, NULL,
+ purple_buddy_get_account(dialog->buddy),
+ purple_buddy_get_name(dialog->buddy),
+ NULL, dialog->buddy, TRUE);
delete_win_cb(NULL, NULL, dialog);
}
@@ -286,13 +288,15 @@
COLUMN_DATA, &contact,
-1);
- protocol_field = gevo_protocol_get_field(purple_buddy_get_account(dialog->buddy), dialog->buddy);
+ protocol_field = gevo_protocol_get_field(
+ purple_buddy_get_account(dialog->buddy), dialog->buddy);
if (protocol_field == 0)
return; /* XXX */
list = e_contact_get(contact, protocol_field);
- list = g_list_append(list, g_strdup(purple_buddy_get_name(dialog->buddy)));
+ list = g_list_append(list,
+ g_strdup(purple_buddy_get_name(dialog->buddy)));
e_contact_set(contact, protocol_field, list);
@@ -316,7 +320,6 @@
GtkWidget *hbox;
GtkWidget *bbox;
GtkWidget *sep;
- GtkWidget *expander;
GtkTreeSelection *selection;
GtkCellRenderer *cell;
@@ -416,21 +419,6 @@
G_CALLBACK(addrbook_change_cb), dialog);
gtk_combo_box_set_active(GTK_COMBO_BOX(dialog->addrbooks_combo), 0);
- /* Add the expander */
- expander = gtk_expander_new_with_mnemonic(_("User _details"));
- gtk_box_pack_start(GTK_BOX(vbox), expander, FALSE, FALSE, 0);
- gtk_widget_show(expander);
-
- /*
- * User details
- */
-
- /* Textview */
- dialog->imhtml = gtk_imhtml_new(NULL, NULL);
- gtk_container_add(GTK_CONTAINER(expander),
- pidgin_make_scrollable(dialog->imhtml, GTK_POLICY_NEVER, GTK_POLICY_ALWAYS, GTK_SHADOW_IN, -1, -1));
- gtk_widget_show(dialog->imhtml);
-
/* Separator. */
sep = gtk_hseparator_new();
gtk_box_pack_start(GTK_BOX(vbox), sep, FALSE, FALSE, 0);
--- a/pidgin/plugins/gevolution/eds-utils.c Sun Feb 02 00:11:23 2014 +0530
+++ b/pidgin/plugins/gevolution/eds-utils.c Sun Feb 02 00:22:57 2014 +0530
@@ -23,7 +23,6 @@
#include "gtkblist.h"
#include "pidgin.h"
#include "gtkutils.h"
-#include "gtkimhtml.h"
#include "debug.h"
#include "gevolution.h"
@@ -177,7 +176,8 @@
EBookQuery *full_query;
GSList *groups, *g;
EContact *result;
- EContactField protocol_field = gevo_protocol_get_field(purple_buddy_get_account(buddy), buddy);
+ EContactField protocol_field =
+ gevo_protocol_get_field(purple_buddy_get_account(buddy), buddy);
if (protocol_field == 0)
return NULL;
@@ -187,7 +187,8 @@
EBookQuery *queries[2];
queries[0] = query;
- queries[1] = e_book_query_field_test(protocol_field, E_BOOK_QUERY_IS, purple_buddy_get_name(buddy));
+ queries[1] = e_book_query_field_test(protocol_field,
+ E_BOOK_QUERY_IS, purple_buddy_get_name(buddy));
if (queries[1] == NULL)
{
purple_debug_error("evolution", "Error in creating protocol query\n");
@@ -199,7 +200,8 @@
}
else
{
- full_query = e_book_query_field_test(protocol_field, E_BOOK_QUERY_IS, purple_buddy_get_name(buddy));
+ full_query = e_book_query_field_test(protocol_field,
+ E_BOOK_QUERY_IS, purple_buddy_get_name(buddy));
if (full_query == NULL)
{
purple_debug_error("evolution", "Error in creating protocol query\n");
--- a/pidgin/plugins/gevolution/gevo-util.c Sun Feb 02 00:11:23 2014 +0530
+++ b/pidgin/plugins/gevolution/gevo-util.c Sun Feb 02 00:22:57 2014 +0530
@@ -54,7 +54,8 @@
if (im != NULL)
{
purple_buddy_icon_update(purple_im_conversation_get_icon(im));
- purple_conversation_update(PURPLE_CONVERSATION(im), PURPLE_CONVERSATION_UPDATE_ADD);
+ purple_conversation_update(PURPLE_CONVERSATION(im),
+ PURPLE_CONVERSATION_UPDATE_ADD);
}
}
@@ -81,7 +82,8 @@
if (PURPLE_IS_GROUP(gnode))
{
g = PURPLE_GROUP(gnode);
- list = g_list_append(list, (gpointer)purple_group_get_name(g));
+ list = g_list_append(list,
+ (gpointer)purple_group_get_name(g));
}
}
}
--- a/pidgin/plugins/gevolution/gevolution.c Sun Feb 02 00:11:23 2014 +0530
+++ b/pidgin/plugins/gevolution/gevolution.c Sun Feb 02 00:22:57 2014 +0530
@@ -248,14 +248,15 @@
}
else
{
- purple_notify_error(NULL, NULL, _("Unable to send email"),
- _("The evolution executable was not found in the PATH."));
+ purple_notify_error(NULL, NULL, _("Unable to send "
+ "email"), _("The evolution executable was not "
+ "found in the PATH."), NULL);
}
}
else
{
purple_notify_error(NULL, NULL, _("Unable to send email"),
- _("An email address was not found for this buddy."));
+ _("An email address was not found for this buddy."), NULL);
}
}
--- a/pidgin/plugins/gevolution/gevolution.h Sun Feb 02 00:11:23 2014 +0530
+++ b/pidgin/plugins/gevolution/gevolution.h Sun Feb 02 00:22:57 2014 +0530
@@ -97,7 +97,6 @@
GtkWidget *addrbooks_combo;
GtkWidget *search_field;
GtkWidget *assoc_button;
- GtkWidget *imhtml;
GtkListStore *model;
GtkTreeModel *addrbooks;