Commit 680bd91d7df7931d823ebba83dbc2dccc9e241e4
1 parent
bf3341aa
Exists in
master
and in
1 other branch
Revision and version are now standard lib3270 properties.
Showing
2 changed files
with
2 additions
and
11 deletions
Show diff stats
gitsync.sh
src/core/getproperties.c
| ... | ... | @@ -37,9 +37,6 @@ |
| 37 | 37 | #include <lib3270.h> |
| 38 | 38 | #include <lib3270/properties.h> |
| 39 | 39 | |
| 40 | -// #include <dbus/dbus-glib.h> | |
| 41 | -// #include <dbus/dbus-glib-bindings.h> | |
| 42 | - | |
| 43 | 40 | GVariant * ipc3270_get_property(GObject *object, const gchar *property_name, GError **error) { |
| 44 | 41 | |
| 45 | 42 | size_t ix; |
| ... | ... | @@ -122,14 +119,6 @@ GVariant * ipc3270_get_property(GObject *object, const gchar *property_name, GEr |
| 122 | 119 | |
| 123 | 120 | } |
| 124 | 121 | |
| 125 | - if(!g_ascii_strcasecmp("version", property_name)) { | |
| 126 | - return g_variant_new_string(PACKAGE_VERSION); | |
| 127 | - } | |
| 128 | - | |
| 129 | - if(!g_ascii_strcasecmp("revision", property_name)) { | |
| 130 | - return g_variant_new_string(G_STRINGIFY(PACKAGE_RELEASE)); | |
| 131 | - } | |
| 132 | - | |
| 133 | 122 | return NULL; |
| 134 | 123 | |
| 135 | 124 | } | ... | ... |