pidgin/pidgin

Fix some more new warnings.

2020-11-14, Elliott Sales de Andrade
cd55d0fc0f81
Parents 46f9691e2ac7
Children db61db6af817
Fix some more new warnings.

Testing Done:
Compiles these files and see less warnings.

Reviewed at https://reviews.imfreedom.org/r/219/
--- a/pidgin/gtkblist.c Sat Nov 14 04:16:26 2020 -0600
+++ b/pidgin/gtkblist.c Sat Nov 14 04:17:16 2020 -0600
@@ -5188,7 +5188,6 @@
{
PidginBuddyListPrivate *priv;
void *handle;
- GSimpleActionGroup *actions;
GtkTreeViewColumn *column;
GtkWidget *sep;
GtkWidget *infobar;
--- a/pidgin/gtkwhiteboard.c Sat Nov 14 04:16:26 2020 -0600
+++ b/pidgin/gtkwhiteboard.c Sat Nov 14 04:17:16 2020 -0600
@@ -702,10 +702,6 @@
pidgin_whiteboard_draw_brush_point,
pidgin_whiteboard_draw_brush_line,
pidgin_whiteboard_clear,
- NULL,
- NULL,
- NULL,
- NULL
};
PurpleWhiteboardUiOps *
--- a/pidgin/pidginpresenceicon.c Sat Nov 14 04:16:26 2020 -0600
+++ b/pidgin/pidginpresenceicon.c Sat Nov 14 04:17:16 2020 -0600
@@ -242,7 +242,7 @@
* but to do that, we need to keep a reference to the old presence.
*/
if(PURPLE_IS_PRESENCE(icon->presence)) {
- old = g_object_ref(G_OBJECT(icon->presence));
+ old = g_object_ref(icon->presence);
}
if(g_set_object(&icon->presence, presence)) {