Commit 7ea085ea authored by Antenore Gatta's avatar Antenore Gatta

Fixing cast from/to pointer from/to int of different sizes

parent 00a1c3b0
......@@ -3201,7 +3201,7 @@ static gboolean rcw_go_fullscreen(GtkWidget *widget, GdkEvent *event, gpointer d
if (!REMMINA_IS_CONNECTION_WINDOW(widget))
return FALSE;
target_monitor = (gint)data;
target_monitor = GPOINTER_TO_INT(data);
#if GTK_CHECK_VERSION(3, 18, 0)
if (remmina_pref.fullscreen_on_auto) {
......@@ -3421,7 +3421,7 @@ RemminaConnectionWindow *rcw_create_fullscreen(GtkWindow *old, gint view_mode)
/* Put the window in fullscreen after it is mapped to have it appear on the same monitor */
g_signal_connect(G_OBJECT(cnnwin), "map-event", G_CALLBACK(rcw_go_fullscreen), (gpointer)full_screen_target_monitor);
g_signal_connect(G_OBJECT(cnnwin), "map-event", G_CALLBACK(rcw_go_fullscreen), GINT_TO_POINTER(full_screen_target_monitor));
return cnnwin;
}
......
......@@ -343,10 +343,6 @@ void remmina_plugin_manager_init(void)
}
g_slist_free(secret_plugins);
}
RemminaPlugin* remmina_plugin_manager_get_plugin(RemminaPluginType type, const gchar *name)
......
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