gnome-mud r814 - in trunk: . src/zmp



Author: lharris
Date: Thu Mar 19 23:59:51 2009
New Revision: 814
URL: http://svn.gnome.org/viewvc/gnome-mud?rev=814&view=rev

Log:
Pass argv[1] as identifier of subwindow for subwindow.input as per spec.

Modified:
   trunk/ChangeLog
   trunk/src/zmp/zmp-subwindow.c

Modified: trunk/src/zmp/zmp-subwindow.c
==============================================================================
--- trunk/src/zmp/zmp-subwindow.c	(original)
+++ trunk/src/zmp/zmp-subwindow.c	Thu Mar 19 23:59:51 2009
@@ -396,9 +396,16 @@
                        const gchar *input,
                        ZmpSubwindow *self)
 {
-    mud_zmp_send_command(self->priv->parent, 2,
+    gchar *identifier;
+
+    g_object_get(sub, "identifier", &identifier, NULL);
+
+    mud_zmp_send_command(self->priv->parent, 3,
             "subwindow.input",
+            identifier,
             input);
+
+    g_free(identifier);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]