Author: miguel
Date: 2007-06-19 14:09:17 -0400 (Tue, 19 Jun 2007)
New Revision: 80216
Modified:
trunk/moon/plugin/plugin.cpp
trunk/moon/plugin/plugin.h
trunk/moon/src/ChangeLog
Log:
Forgot this
Modified: trunk/moon/plugin/plugin.cpp
===================================================================
--- trunk/moon/plugin/plugin.cpp 2007-06-19 18:05:07 UTC (rev 80215)
+++ trunk/moon/plugin/plugin.cpp 2007-06-19 18:09:17 UTC (rev 80216)
@@ -121,8 +121,8 @@
PluginInstance::Finalize ()
{
// Container must be destroyed or we have segfault when browser's
closes.
- if (this->container != NULL)
- gtk_widget_destroy (this->container);
+ //if (this->container != NULL)
+ //gtk_widget_destroy (this->container);
}
NPError
@@ -476,3 +476,15 @@
{
return window->width;
}
+
+int32
+plugin_instance_get_actual_width (PluginInstance *instance)
+{
+ return instance->getActualWidth ();
+}
+
+int32
+plugin_instance_get_actual_height (PluginInstance *instance)
+{
+ return instance->getActualHeight ();
+}
Modified: trunk/moon/plugin/plugin.h
===================================================================
--- trunk/moon/plugin/plugin.h 2007-06-19 18:05:07 UTC (rev 80215)
+++ trunk/moon/plugin/plugin.h 2007-06-19 18:09:17 UTC (rev 80216)
@@ -120,4 +120,11 @@
void *pdata;
};
+G_BEGIN_DECLS
+
+int32 plugin_instance_get_actual_width (PluginInstance *instance);
+int32 plugin_instance_get_actual_height (PluginInstance *instance);
+
+G_END_DECLS
+
#endif /* MOON_PLUGIN */
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2007-06-19 18:05:07 UTC (rev 80215)
+++ trunk/moon/src/ChangeLog 2007-06-19 18:09:17 UTC (rev 80216)
@@ -1,3 +1,9 @@
+2007-06-19 Miguel de Icaza <[EMAIL PROTECTED]>
+
+ * runtime.cpp (Collection): Add new Insert method, and update all
+ the callers that overwrote it. We probably need to cleanup
+ everything that is doing virtual overrides and is a no-op
+
2007-06-19 Chris Toshok <[EMAIL PROTECTED]>
* runtime.cpp (clear_drawing_area): this method doesn't need to
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches