diff options
author | CoprDistGit <infra@openeuler.org> | 2023-09-06 11:38:42 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-09-06 11:38:42 +0000 |
commit | 4accf0c0d129c88719615209e4a80e319471c74c (patch) | |
tree | 56ff716ad26931fae3a004cb7d9f3d7d891ad949 /0003-fix-compilation-failed.patch | |
parent | 07f51b0f63eb91ba6415f533244ccb406e83aabf (diff) |
automatic import of vinagreopeneuler20.03
Diffstat (limited to '0003-fix-compilation-failed.patch')
-rw-r--r-- | 0003-fix-compilation-failed.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/0003-fix-compilation-failed.patch b/0003-fix-compilation-failed.patch new file mode 100644 index 0000000..6713055 --- /dev/null +++ b/0003-fix-compilation-failed.patch @@ -0,0 +1,26 @@ +diff --git a/plugins/vnc/vinagre-vnc-connection.h b/plugins/vnc/vinagre-vnc-connection.h +index 4788ae2..f37642c 100644 +--- a/plugins/vnc/vinagre-vnc-connection.h ++++ b/plugins/vnc/vinagre-vnc-connection.h +@@ -26,7 +26,7 @@ + + G_BEGIN_DECLS + +-gboolean scaling_command_line; ++extern gboolean scaling_command_line; + + #define VINAGRE_TYPE_VNC_CONNECTION (vinagre_vnc_connection_get_type ()) + #define VINAGRE_VNC_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VINAGRE_TYPE_VNC_CONNECTION, VinagreVncConnection)) +diff --git a/plugins/vnc/vinagre-vnc-plugin.c b/plugins/vnc/vinagre-vnc-plugin.c +index a5884da..438aa99 100644 +--- a/plugins/vnc/vinagre-vnc-plugin.c ++++ b/plugins/vnc/vinagre-vnc-plugin.c +@@ -35,6 +35,8 @@ + #include "vinagre-vnc-connection.h" + #include "vinagre-vnc-tab.h" + ++gboolean scaling_command_line; ++ + void vnc_register_types (void); + + static void vinagre_vnc_protocol_iface_init (VinagreProtocolInterface *iface); |