summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-25 21:25:50 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-25 21:25:50 +0000
commit48780131a32188263501c094bff8afcbc687e189 (patch)
treeeb79b55d14709b5fef778017b3db28b21eed2438 /src/main.c
parent33256bc2004f729c6829d812a3ca6c89fa7e7b7a (diff)
When implementing labels in TrgDestinationCombo, I somehow overlooked the fact that I made it no longer editable and some work would be needed to make it actually send the directory and not the label. Fixed, I have some more ideas for this widget though.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 79ad11b..b0f3cf1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -185,7 +185,7 @@ static gpointer mailslot_recv_thread(gpointer data) {
return NULL; //Success
}
-static int winunique_send_message(HANDLE h, gchar **args) {
+static int mailslot_send_message(HANDLE h, gchar **args) {
DWORD cbBytes;
JsonNode *node = json_node_new(JSON_NODE_OBJECT);
JsonObject *obj = json_object_new();
@@ -357,7 +357,7 @@ int main(int argc, char *argv[]) {
NULL); // no template file
if (INVALID_HANDLE_VALUE != hMailSlot) {
- returnValue = winunique_send_message(hMailSlot, args);
+ returnValue = mailslot_send_message(hMailSlot, args);
} else {
#endif
client = trg_client_new();
@@ -384,7 +384,7 @@ int main(int argc, char *argv[]) {
}
if (withUnique)
- g_object_unref(app);
+ g_object_unref(app);
#elif WIN32
}
#endif