diff options
author | Davy Defaud <davy.defaud@free.fr> | 2019-01-27 21:47:11 +0300 |
---|---|---|
committer | Davy Defaud <davy.defaud@free.fr> | 2019-01-27 21:47:11 +0300 |
commit | f46bfa9599b5a4b9c90e27d004fc424b4a4a6e33 (patch) | |
tree | 9b6313ec753bed10d50fe1c676dd844b47dedac9 /src | |
parent | b266c8e1707520b157cac395a551af63eeb23146 (diff) |
Replace single quotes by true apostrophes
Diffstat (limited to 'src')
-rw-r--r-- | src/remmina.c | 4 | ||||
-rw-r--r-- | src/remmina_connection_window.c | 16 | ||||
-rw-r--r-- | src/remmina_crypt.c | 2 | ||||
-rw-r--r-- | src/remmina_file.c | 8 | ||||
-rw-r--r-- | src/remmina_file_editor.c | 2 | ||||
-rw-r--r-- | src/remmina_file_manager.c | 2 | ||||
-rw-r--r-- | src/remmina_icon.c | 2 | ||||
-rw-r--r-- | src/remmina_main.c | 4 | ||||
-rw-r--r-- | src/remmina_plugin_manager.c | 2 | ||||
-rw-r--r-- | src/remmina_pref.c | 2 | ||||
-rw-r--r-- | src/remmina_protocol_widget.c | 6 | ||||
-rw-r--r-- | src/remmina_protocol_widget.h | 2 | ||||
-rw-r--r-- | src/remmina_public.c | 6 | ||||
-rw-r--r-- | src/remmina_ssh.c | 16 | ||||
-rw-r--r-- | src/remmina_ssh_plugin.c | 4 | ||||
-rw-r--r-- | src/remmina_stats.c | 6 | ||||
-rw-r--r-- | src/remmina_string_list.c | 2 | ||||
-rw-r--r-- | src/remmina_utils.c | 2 | ||||
-rw-r--r-- | src/remmina_widget_pool.c | 2 |
19 files changed, 45 insertions, 45 deletions
diff --git a/src/remmina.c b/src/remmina.c index e252d5687..ef4751a05 100644 --- a/src/remmina.c +++ b/src/remmina.c @@ -91,8 +91,8 @@ static GOptionEntry remmina_options[] = { "server", 's', 0, G_OPTION_ARG_STRING, NULL, N_("Use default server name (for --new)"), "SERVER" }, { "protocol", 't', 0, G_OPTION_ARG_STRING, NULL, N_("Use default protocol (for --new)"), "PROTOCOL" }, { "icon", 'i', 0, G_OPTION_ARG_NONE, NULL, N_("Start as tray icon"), NULL }, - { "version", 'v', 0, G_OPTION_ARG_NONE, NULL, N_("Show the application's version"), NULL }, - { "full-version", 'V', 0, G_OPTION_ARG_NONE, NULL, N_("Show the application's version, including the plugin versions"), NULL }, + { "version", 'v', 0, G_OPTION_ARG_NONE, NULL, N_("Show the application’s version"), NULL }, + { "full-version", 'V', 0, G_OPTION_ARG_NONE, NULL, N_("Show the application’s version, including the plugin versions"), NULL }, { NULL } }; diff --git a/src/remmina_connection_window.c b/src/remmina_connection_window.c index 3c3d3aa8b..5b2171b57 100644 --- a/src/remmina_connection_window.c +++ b/src/remmina_connection_window.c @@ -227,7 +227,7 @@ static void remmina_connection_window_class_init(RemminaConnectionWindowClass* k provider = gtk_css_provider_new(); - /* It's important to remove padding, border and shadow from GtkViewport or + /* It’s important to remove padding, border and shadow from GtkViewport or * we will never know its internal area size, because GtkViweport::viewport_get_view_allocation, * which returns the internal size of the GtkViewport, is private and we cannot access it */ @@ -503,7 +503,7 @@ static void remmina_connection_holder_keyboard_grab(RemminaConnectionHolder* cnn if (remmina_file_get_int(cnnobj->remmina_file, "keyboard_grab", FALSE)) { #if DEBUG_KB_GRABBING - printf("DEBUG_KB_GRABBING: profile asks for grabbing, let's try.\n"); + printf("DEBUG_KB_GRABBING: profile asks for grabbing, let’s try.\n"); #endif /* Up to GTK version 3.20 we can grab the keyboard with gdk_device_grab(). * in GTK 3.20 gdk_seat_grab() should be used instead of gdk_device_grab(). @@ -633,7 +633,7 @@ static void remmina_connection_window_destroy(GtkWidget* widget, RemminaConnecti } /* There is no need to destroy priv->floating_toolbar_widget, - * because it's our child and will be destroyed automatically */ + * because it’s our child and will be destroyed automatically */ /* Timer used to hide the toolbar */ if (priv->hidetb_timer) { @@ -872,7 +872,7 @@ static void remmina_connection_holder_toolbar_autofit(GtkWidget* widget, Remmina gtk_window_unmaximize(GTK_WINDOW(cnnhld->cnnwin)); } - /* It's tricky to make the toolbars disappear automatically, while keeping scrollable. + /* It’s tricky to make the toolbars disappear automatically, while keeping scrollable. Please tell me if you know a better way to do this */ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(cnnobj->scrolled_container), GTK_POLICY_NEVER, GTK_POLICY_NEVER); @@ -2209,7 +2209,7 @@ static void remmina_connection_holder_showhide_toolbar(RemminaConnectionHolder* TRACE_CALL(__func__); RemminaConnectionWindowPriv* priv = cnnhld->cnnwin->priv; - /* Here we should threat the resize flag, but we don't */ + /* Here we should threat the resize flag, but we don’t */ if (priv->view_mode == SCROLLED_WINDOW_MODE) { if (remmina_pref.hide_connection_toolbar) { gtk_widget_hide(priv->toolbar); @@ -2624,7 +2624,7 @@ remmina_connection_window_new_from_holder(RemminaConnectionHolder* cnnhld) g_signal_connect(G_OBJECT(cnnwin), "delete-event", G_CALLBACK(remmina_connection_window_delete_event), cnnhld); g_signal_connect(G_OBJECT(cnnwin), "destroy", G_CALLBACK(remmina_connection_window_destroy), cnnhld); - /* focus-in-event and focus-out-event don't work when keyboard is grabbed + /* focus-in-event and focus-out-event don’t work when keyboard is grabbed * via gdk_device_grab. So we listen for window-state-event to detect focus in and focus out */ g_signal_connect(G_OBJECT(cnnwin), "window-state-event", G_CALLBACK(remmina_connection_window_state_event), cnnhld); @@ -3589,7 +3589,7 @@ static void remmina_connection_object_on_connect(RemminaProtocolWidget* gp, Remm GDateTime *date = g_date_time_new_now_utc(); - /* This signal handler is called by a plugin when it's correctly connected + /* This signal handler is called by a plugin when it’s correctly connected * (and authenticated) */ if (!cnnobj->cnnhld) { @@ -3881,7 +3881,7 @@ GtkWidget* remmina_connection_window_open_from_file_full(RemminaFile* remminafil GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, - _("Warning: This plugin require GtkSocket, but it's not available.")); + _("Warning: This plugin require GtkSocket, but it’s not available.")); g_signal_connect(G_OBJECT(dialog), "response", G_CALLBACK(gtk_widget_destroy), NULL); gtk_widget_show(dialog); return NULL; /* Should we destroy something before returning ? */ diff --git a/src/remmina_crypt.c b/src/remmina_crypt.c index a29001a24..31e16b77f 100644 --- a/src/remmina_crypt.c +++ b/src/remmina_crypt.c @@ -107,7 +107,7 @@ gchar* remmina_crypt_encrypt(const gchar *str) return NULL; buf_len = strlen(str); - /* Pack to 64bit block size, and make sure it's always 0-terminated */ + /* Pack to 64bit block size, and make sure it’s always 0-terminated */ buf_len += 8 - buf_len % 8; buf = (guchar*)g_malloc(buf_len); memset(buf, 0, buf_len); diff --git a/src/remmina_file.c b/src/remmina_file.c index e6011527c..bece17623 100644 --- a/src/remmina_file.c +++ b/src/remmina_file.c @@ -76,7 +76,7 @@ remmina_file_new_empty(void) remminafile = g_new0(RemminaFile, 1); remminafile->settings = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); /* spsettings contains settings that are loaded from the secure_plugin. - * it's used by remmina_file_store_secret_plugin_password() to know + * it’s used by remmina_file_store_secret_plugin_password() to know * where to change */ remminafile->spsettings = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); remminafile->prevent_saving = FALSE; @@ -365,7 +365,7 @@ remmina_file_get_keyfile(RemminaFile *remminafile) return NULL; gkeyfile = g_key_file_new(); if (!g_key_file_load_from_file(gkeyfile, remminafile->filename, G_KEY_FILE_NONE, NULL)) { - /* it will fail if it's a new file, but shouldn't matter. */ + /* it will fail if it’s a new file, but shouldn’t matter. */ } return gkeyfile; } @@ -579,7 +579,7 @@ void remmina_file_unsave_password(RemminaFile *remminafile) /** * Return the string date of the last time a file has been modified. * - * This is used to return the modification date of a file and it's used + * This is used to return the modification date of a file and it’s used * to return the modification date and time of a givwn remmina file. * If it fails it will return "26/01/1976 23:30:00", that is just a date to don't * return an empty string (challenge: what was happened that day at that time?). @@ -612,7 +612,7 @@ remmina_file_get_datetime(RemminaFile *remminafile) g_object_unref(file); if (info == NULL) { - g_print("couldn't get time info\n"); + g_print("couldn’t get time info\n"); return "26/01/1976 23:30:00"; } diff --git a/src/remmina_file_editor.c b/src/remmina_file_editor.c index 47d4da8a4..3d27be5e2 100644 --- a/src/remmina_file_editor.c +++ b/src/remmina_file_editor.c @@ -791,7 +791,7 @@ static void remmina_file_editor_create_settings(RemminaFileEditor* gfe, GtkWidge grid_column++; } /* Add a new settings row and move to the first column - * if the setting doesn't want the compactness + * if the setting doesn’t want the compactness * or we already have two columns */ if (!settings->compact || grid_column > 1) { grid_row++; diff --git a/src/remmina_file_manager.c b/src/remmina_file_manager.c index e4e39f3d1..699394dd3 100644 --- a/src/remmina_file_manager.c +++ b/src/remmina_file_manager.c @@ -83,7 +83,7 @@ gchar *remmina_file_get_datadir(void) static gboolean remmina_file_manager_do_copy(const char *src_path, const char *dst_path) { GFile *src = g_file_new_for_path(src_path), *dst = g_file_new_for_path(dst_path); - /* We don't overwrite the target if it exists */ + /* We don’t overwrite the target if it exists */ const gboolean ok = g_file_copy(src, dst, G_FILE_COPY_NONE, NULL, NULL, NULL, NULL); g_object_unref(dst); diff --git a/src/remmina_icon.c b/src/remmina_icon.c index 7334c731e..32ac76b5d 100644 --- a/src/remmina_icon.c +++ b/src/remmina_icon.c @@ -449,7 +449,7 @@ void remmina_icon_init(void) #ifdef HAVE_LIBAPPINDICATOR strcat(msg, " and libappindicator is compiled in remmina. Good!"); #else - strcat(msg, ", but you did not compile remmina with cmake's -DWITH_APPINDICATOR=on"); + strcat(msg, ", but you did not compile remmina with cmake’s -DWITH_APPINDICATOR=on"); #endif } else { #ifdef HAVE_LIBAPPINDICATOR diff --git a/src/remmina_main.c b/src/remmina_main.c index 53a2712ce..aea2dc79b 100644 --- a/src/remmina_main.c +++ b/src/remmina_main.c @@ -211,11 +211,11 @@ static void remmina_main_show_snap_welcome() g_print("Remmina is compiled as a SNAP package.\n"); remmina_secret_plugin = remmina_plugin_manager_get_secret_plugin(); if (remmina_secret_plugin == NULL) { - g_print(" but we can't find the secret plugin inside the SNAP.\n"); + g_print(" but we can’t find the secret plugin inside the SNAP.\n"); need_snap_interface_connections = TRUE; } else { if (!remmina_secret_plugin->is_service_available()) { - g_print(" but we can't access a secret service. Secret service or SNAP interface connection is missing.\n"); + g_print(" but we can’t access a secret service. Secret service or SNAP interface connection is missing.\n"); need_snap_interface_connections = TRUE; } } diff --git a/src/remmina_plugin_manager.c b/src/remmina_plugin_manager.c index ac2749bb6..380c0ebbb 100644 --- a/src/remmina_plugin_manager.c +++ b/src/remmina_plugin_manager.c @@ -266,7 +266,7 @@ static void remmina_plugin_manager_load_plugin(const gchar *name) return; } - /* We don't close the module because we will need it throughout the process lifetime */ + /* We don’t close the module because we will need it throughout the process lifetime */ } void remmina_plugin_manager_init(void) diff --git a/src/remmina_pref.c b/src/remmina_pref.c index 43cc695ba..23b2f5530 100644 --- a/src/remmina_pref.c +++ b/src/remmina_pref.c @@ -169,7 +169,7 @@ static void remmina_pref_init_keymap(void) static gboolean remmina_pref_file_do_copy(const char *src_path, const char *dst_path) { GFile *src = g_file_new_for_path(src_path), *dst = g_file_new_for_path(dst_path); - /* We don't overwrite the target if it exists, because overwrite is not set */ + /* We don’t overwrite the target if it exists, because overwrite is not set */ const gboolean ok = g_file_copy(src, dst, G_FILE_COPY_NONE, NULL, NULL, NULL, NULL); g_object_unref(dst); diff --git a/src/remmina_protocol_widget.c b/src/remmina_protocol_widget.c index d47f0d7b3..95a4c2728 100644 --- a/src/remmina_protocol_widget.c +++ b/src/remmina_protocol_widget.c @@ -437,7 +437,7 @@ void remmina_protocol_widget_send_keystrokes(RemminaProtocolWidget* gp, GtkMenuI break; } } - /* Decode character if it's not a special character */ + /* Decode character if it’s not a special character */ if (character) { /* get keyval without modifications */ if (!gdk_keymap_get_entries_for_keyval(keymap, keyval, &keys, &n_keys)) { @@ -651,7 +651,7 @@ static gboolean remmina_protocol_widget_init_tunnel(RemminaProtocolWidget* gp) gchar* msg; RemminaMessagePanel* mp; - /* Reuse existing SSH connection if it's reconnecting to destination */ + /* Reuse existing SSH connection if it’s reconnecting to destination */ if (gp->priv->ssh_tunnel == NULL) { tunnel = remmina_ssh_tunnel_new_from_file(gp->priv->remmina_file); @@ -1370,7 +1370,7 @@ void remmina_protocol_widget_save_cred(RemminaProtocolWidget* gp) return; } - /* Save user name and certificates if any; save the password if it's requested to do so */ + /* Save user name and certificates if any; save the password if it’s requested to do so */ s = gp->priv->username; if (s && s[0]) { remmina_file_set_string(remminafile, "username", s); diff --git a/src/remmina_protocol_widget.h b/src/remmina_protocol_widget.h index 50e779058..932228f3e 100644 --- a/src/remmina_protocol_widget.h +++ b/src/remmina_protocol_widget.h @@ -110,7 +110,7 @@ void remmina_protocol_widget_set_hostkey_func(RemminaProtocolWidget *gp, Remmina gboolean remmina_protocol_widget_ssh_exec(RemminaProtocolWidget *gp, gboolean wait, const gchar *fmt, ...); -/* Start a SSH tunnel if it's enabled. Returns a newly allocated string indicating: +/* Start a SSH tunnel if it’s enabled. Returns a newly allocated string indicating: * 1. The actual destination (host:port) if SSH tunnel is disable * 2. The tunnel local destination (127.0.0.1:port) if SSH tunnel is enabled */ diff --git a/src/remmina_public.c b/src/remmina_public.c index 3fa1ecd0c..e726cba8f 100644 --- a/src/remmina_public.c +++ b/src/remmina_public.c @@ -300,12 +300,12 @@ void remmina_public_popup_position(GtkMenu *menu, gint *x, gint *y, gboolean *pu } gdk_window_get_origin(gtk_widget_get_window(widget), &tx, &ty); gtk_widget_get_allocation(widget, &allocation); - /* I'm unsure why the author made the check about a GdkWindow inside the + /* I’m unsure why the author made the check about a GdkWindow inside the * widget argument. This function generally is called passing by a ToolButton - * which hasn't any GdkWindow, therefore the positioning is wrong + * which hasn’t any GdkWindow, therefore the positioning is wrong * I think the gtk_widget_get_has_window() check should be removed * - * While leaving the previous check intact I'm checking also if the provided + * While leaving the previous check intact I’m checking also if the provided * widget is a GtkToggleToolButton and position the menu accordingly. */ if (gtk_widget_get_has_window(widget) || g_strcmp0(gtk_widget_get_name(widget), "GtkToggleToolButton") == 0) { diff --git a/src/remmina_ssh.c b/src/remmina_ssh.c index 7dbb04362..41b407090 100644 --- a/src/remmina_ssh.c +++ b/src/remmina_ssh.c @@ -302,7 +302,7 @@ remmina_ssh_auth(RemminaSSH *ssh, const gchar *password) gint method; gint ret; - /* Check known host again to ensure it's still the original server when user forks + /* Check known host again to ensure it’s still the original server when user forks a new session from existing one */ if (ssh_is_server_known(ssh->session) != SSH_SERVER_KNOWN_OK) { remmina_ssh_set_application_error(ssh, "SSH public key has changed!"); @@ -376,7 +376,7 @@ remmina_ssh_auth_gui(RemminaSSH *ssh, RemminaProtocolWidget *gp, RemminaFile *re gboolean disablepasswordstoring; gboolean save_password; - /* Check if the server's public key is known */ + /* Check if the server’s public key is known */ ret = ssh_is_server_known(ssh->session); switch (ret) { case SSH_SERVER_KNOWN_OK: @@ -428,19 +428,19 @@ remmina_ssh_auth_gui(RemminaSSH *ssh, RemminaProtocolWidget *gp, RemminaFile *re switch (ssh->auth) { case SSH_AUTH_PASSWORD: - tips = _("Authenticating %s's password to SSH server %s…"); + tips = _("Authenticating %s’s password to SSH server %s…"); keyname = _("SSH password"); pwdtype = "ssh_password"; break; case SSH_AUTH_PUBLICKEY: case SSH_AUTH_AGENT: case SSH_AUTH_AUTO_PUBLICKEY: - tips = _("Authenticating %s's identity to SSH server %s…"); + tips = _("Authenticating %s’s identity to SSH server %s…"); keyname = _("SSH private key passphrase"); pwdtype = "ssh_passphrase"; break; case SSH_AUTH_GSSAPI: - tips = _("Authenticating %s's Kerberos to SSH server %s…"); + tips = _("Authenticating %s’s Kerberos to SSH server %s…"); keyname = _("SSH Kerberos/GSSAPI"); pwdtype = "kerberos_token"; break; @@ -1145,7 +1145,7 @@ remmina_ssh_tunnel_main_thread_proc(gpointer data) } }else if (tunnel->tunnel_type != REMMINA_SSH_TUNNEL_REVERSE) { /* Poll once per some period of time if no incoming connections. - * Don't try to poll continuously as it will significantly slow down the loop */ + * Don’t try to poll continuously as it will significantly slow down the loop */ g_get_current_time(&t1); diff = (t1.tv_sec - t2.tv_sec) * 10 + (t1.tv_usec - t2.tv_usec) / 100000; if (diff > 1) { @@ -1263,7 +1263,7 @@ remmina_ssh_tunnel_main_thread_proc(gpointer data) tunnel->socketbuffers[i]->len -= lenw, tunnel->socketbuffers[i]->ptr += lenw) { lenw = write(tunnel->sockets[i], tunnel->socketbuffers[i]->ptr, tunnel->socketbuffers[i]->len); if (lenw == -1 && errno == EAGAIN && tunnel->running) { - /* Sometimes we cannot write to a socket (always EAGAIN), probably because it's internal + /* Sometimes we cannot write to a socket (always EAGAIN), probably because it’s internal * buffer is full. We need read the pending bytes from the socket first. so here we simply * break, leave the buffer there, and continue with other data */ break; @@ -1780,7 +1780,7 @@ remmina_ssh_shell_free(RemminaSSHShell *shell) g_free(shell->exec); shell->exec = NULL; } - /* It's not necessary to close shell->slave since the other end (vte) will close it */; + /* It’s not necessary to close shell->slave since the other end (vte) will close it */; remmina_ssh_free(REMMINA_SSH(shell)); } diff --git a/src/remmina_ssh_plugin.c b/src/remmina_ssh_plugin.c index 4559c7a2a..72105c95b 100644 --- a/src/remmina_ssh_plugin.c +++ b/src/remmina_ssh_plugin.c @@ -788,7 +788,7 @@ remmina_plugin_ssh_init(RemminaProtocolWidget *gp) vte_terminal_set_color_background(VTE_TERMINAL(vte), &background_color); vte_terminal_set_color_cursor(VTE_TERMINAL(vte), &cursor_color); #else - /* VTE <= 2.90 doesn't support GdkRGBA so we must convert GdkRGBA to GdkColor */ + /* VTE <= 2.90 doesn’t support GdkRGBA so we must convert GdkRGBA to GdkColor */ foreground_gdkcolor.red = (guint16)(foreground_color.red * 0xFFFF); foreground_gdkcolor.green = (guint16)(foreground_color.green * 0xFFFF); foreground_gdkcolor.blue = (guint16)(foreground_color.blue * 0xFFFF); @@ -914,7 +914,7 @@ remmina_plugin_ssh_query_feature(RemminaProtocolWidget *gp, const RemminaProtoco * In the Remmina Connection Window toolbar, there is a tool menu, this function is used to * call the right function for each entry with its parameters. * - * At the moment it's possible to: + * At the moment it’s possible to: * - Open a new SSH session. * - Open an SFTP session. * - Select, copy and paste text. diff --git a/src/remmina_stats.c b/src/remmina_stats.c index a7c5dee14..33c7d87cf 100644 --- a/src/remmina_stats.c +++ b/src/remmina_stats.c @@ -342,9 +342,9 @@ JsonNode *remmina_stats_get_os_info() /** * Gets the following user environment: - * - Gets the user's locale (or NULL by default) coresponding to LC_ALL. + * - Gets the user’s locale (or NULL by default) coresponding to LC_ALL. * - * @return a Json Node structure containg the user's environment. + * @return a Json Node structure containg the user’s environment. */ JsonNode *remmina_stats_get_user_env() { @@ -780,7 +780,7 @@ JsonNode *remmina_stats_get_all() json_builder_add_value(b, n); /** - * The section ENVIRONMENT collect all the user's environment related + * The section ENVIRONMENT collect all the user’s environment related * settings. */ n = remmina_stats_get_user_env(); diff --git a/src/remmina_string_list.c b/src/remmina_string_list.c index 9af140f6c..f9e050aaf 100644 --- a/src/remmina_string_list.c +++ b/src/remmina_string_list.c @@ -127,7 +127,7 @@ void remmina_string_list_on_action_up(GtkWidget *widget, gpointer user_data) if (gtk_tree_selection_get_selected(string_list->treeview_selection, NULL, &iter)) { gtk_tree_selection_get_selected(string_list->treeview_selection, NULL, &target_iter); path = gtk_tree_model_get_path(GTK_TREE_MODEL(string_list->liststore_items), &target_iter); - /* Before moving the TreeRow check if there's a previous item */ + /* Before moving the TreeRow check if there’s a previous item */ if (gtk_tree_path_prev(path)) { gtk_tree_model_get_iter(GTK_TREE_MODEL(string_list->liststore_items), &target_iter, path); gtk_tree_path_free(path); diff --git a/src/remmina_utils.c b/src/remmina_utils.c index a14167fd3..90f1d8f57 100644 --- a/src/remmina_utils.c +++ b/src/remmina_utils.c @@ -377,7 +377,7 @@ gchar* remmina_utils_get_lsb_codename() /** * Print the distribution description if found. - * Test each known distribution specific information file and print it's content. + * Test each known distribution specific information file and print it’s content. * @return a string or NULL. Caller must free it with g_free(). */ GHashTable* remmina_utils_get_etc_release() diff --git a/src/remmina_widget_pool.c b/src/remmina_widget_pool.c index c7860df1a..b21030319 100644 --- a/src/remmina_widget_pool.c +++ b/src/remmina_widget_pool.c @@ -96,7 +96,7 @@ remmina_widget_pool_find_by_window(GType type, GdkWindow *window) widget = GTK_WIDGET(g_ptr_array_index(remmina_widget_pool, i)); if (!G_TYPE_CHECK_INSTANCE_TYPE(widget, type)) continue; - /* gdk_window_get_toplevel won't work here, if the window is an embedded client. So we iterate the window tree */ + /* gdk_window_get_toplevel won’t work here, if the window is an embedded client. So we iterate the window tree */ for (parent = window; parent && parent != GDK_WINDOW_ROOT; parent = gdk_window_get_parent(parent)) { if (gtk_widget_get_window(widget) == parent) return widget; |