Commit 421744f5 authored by Marc-André Lureau's avatar Marc-André Lureau
Browse files

Get rid of the remaining GCC warnings

parent bb27b66a
......@@ -219,7 +219,7 @@ menu_position (GtkMenu *menu,
{
GtkTreePath *path;
GdkRectangle rect;
gint wx, wy;
gint wy;
GtkRequisition requisition;
GtkWidget *w;
GtkAllocation allocation;
......@@ -232,7 +232,6 @@ menu_position (GtkMenu *menu,
NULL,
&rect);
wx = rect.x;
wy = rect.y;
gdk_window_get_origin (gtk_widget_get_window (w), x, y);
......
......@@ -70,7 +70,7 @@ app_init (GtkApplication *app)
vinagre_utils_handle_debug ();
#ifdef HAVE_TELEPATHY
vinagre_tubes_manager = vinagre_tubes_manager_new (window);
vinagre_tubes_manager = vinagre_tubes_manager_new (VINAGRE_WINDOW (window));
#endif
/* fake call, just to ensure this symbol will be present at vinagre.so */
......
......@@ -303,7 +303,6 @@ static void
vinagre_mdns_init (VinagreMdns *mdns)
{
GError *error = NULL;
GSList *plugins;
VinagrePluginsEngine *engine;
VinagreProtocol *protocol;
GHashTable *protocols;
......
......@@ -312,7 +312,7 @@ handle_login (GtkWindow *parent,
int prompt_fd;
char buffer[1024];
gsize len;
gboolean ret_val, aborted, save_in_keyring;
gboolean ret_val, save_in_keyring;
gsize bytes_written;
const gchar *authtype;
gchar *object, *password;
......@@ -323,7 +323,7 @@ handle_login (GtkWindow *parent,
object = password = NULL;
authtype = NULL;
ret_val = TRUE;
aborted = save_in_keyring = FALSE;
save_in_keyring = FALSE;
if (vendor == SSH_VENDOR_SSH)
prompt_fd = stderr_fd;
......
......@@ -38,6 +38,7 @@
#include "vinagre-debug.h"
#include "vinagre-protocol.h"
#include "vinagre-plugins-engine.h"
#include "vinagre-utils.h"
G_DEFINE_TYPE (VinagreTubeHandler, vinagre_tube_handler, G_TYPE_OBJECT);
......
......@@ -32,6 +32,7 @@
#include <telepathy-glib/dbus.h>
#include <telepathy-glib/interfaces.h>
#include <telepathy-glib/defs.h>
#include <telepathy-glib/util.h>
#include "vinagre-tubes-manager.h"
#include "vinagre-tube-handler.h"
......@@ -235,7 +236,9 @@ vinagre_tubes_manager_new (VinagreWindow *vinagre_window)
{
VinagreTubesManager *self;
return g_object_new (VINAGRE_TYPE_TUBES_MANAGER,
self = g_object_new (VINAGRE_TYPE_TUBES_MANAGER,
"vinagre-window", vinagre_window,
NULL);
return self;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment