Commit 80e72a54 authored by Antenore Gatta's avatar Antenore Gatta

Fixing typos and undeclared object

parent fad09bfe
......@@ -807,7 +807,7 @@ void remmina_rdp_event_init(RemminaProtocolWidget* gp)
#if GTK_CHECK_VERSION(3, 22, 0)
GdkVisual *visual = gdk_screen_get_system_visual(
gdk_display_get_default_screen(rfi->display));
rfi->bpp = gdk_visual_get_depth (GdkVisual *visual);
rfi->bpp = gdk_visual_get_depth (visual);
#else
rfi->bpp = gdk_visual_get_best_depth();
#endif
......
......@@ -1844,6 +1844,7 @@ static void rcw_toolbar_duplicate(GtkWidget *widget, RemminaConnectionWindow *cn
{
TRACE_CALL(__func__);
//RemminaProtocolWidget *gp;
RemminaConnectionObject *cnnobj;
if (cnnwin->priv->toolbar_is_reconfiguring)
......@@ -1851,7 +1852,7 @@ static void rcw_toolbar_duplicate(GtkWidget *widget, RemminaConnectionWindow *cn
if (!(cnnobj = rcw_get_visible_cnnobj(cnnwin))) return;
// We will duplicate the currently displayed RemminaProtocolWidget.
gp = REMMINA_PROTOCOL_WIDGET(cnnobj->proto);
//gp = REMMINA_PROTOCOL_WIDGET(cnnobj->proto);
remmina_exec_command(REMMINA_COMMAND_CONNECT, cnnobj->remmina_file->filename);
......
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