devhelp r1177 - in trunk: . src
- From: herzi svn gnome org
- To: svn-commits-list gnome org
- Subject: devhelp r1177 - in trunk: . src
- Date: Thu, 9 Oct 2008 17:43:10 +0000 (UTC)
Author: herzi
Date: Thu Oct 9 17:43:10 2008
New Revision: 1177
URL: http://svn.gnome.org/viewvc/devhelp?rev=1177&view=rev
Log:
2008-10-07 Sven Herzberg <sven imendio com>
Dropped the refactoring helpers
* src/dh-assistant-view.c,
* src/dh-assistant-view.h: dropped the getter for the link; hide the
setter
Modified:
trunk/ChangeLog
trunk/src/dh-assistant-view.c
trunk/src/dh-assistant-view.h
Modified: trunk/src/dh-assistant-view.c
==============================================================================
--- trunk/src/dh-assistant-view.c (original)
+++ trunk/src/dh-assistant-view.c Thu Oct 9 17:43:10 2008
@@ -29,6 +29,7 @@
#include <webkit/webkit.h>
#include "dh-assistant-view.h"
+#include "dh-link.h"
#include "dh-util.h"
#include "dh-window.h"
@@ -44,6 +45,9 @@
WebKitWebViewClass base_class;
};
+static void dh_assistant_view_set_link (DhAssistantView *self,
+ DhLink *link);
+
G_DEFINE_TYPE (DhAssistantView, dh_assistant_view, WEBKIT_TYPE_WEB_VIEW);
static void
@@ -128,14 +132,6 @@
return self->base;
}
-DhLink*
-dh_assistant_view_get_link (DhAssistantView *self)
-{
- g_return_val_if_fail (DH_IS_ASSISTANT_VIEW (self), NULL);
-
- return self->link;
-}
-
GtkWidget*
dh_assistant_view_new (void)
{
Modified: trunk/src/dh-assistant-view.h
==============================================================================
--- trunk/src/dh-assistant-view.h (original)
+++ trunk/src/dh-assistant-view.h Thu Oct 9 17:43:10 2008
@@ -27,9 +27,6 @@
#include <gtk/gtk.h>
#include "dh-base.h"
-#ifndef DROP_AFTER_REFACTORING
-#include "dh-link.h"
-#endif
G_BEGIN_DECLS
@@ -50,11 +47,6 @@
DhBase* dh_assistant_view_get_base (DhAssistantView *self);
void dh_assistant_view_set_base (DhAssistantView *self,
DhBase *base);
-#ifndef DROP_AFTER_REFACTORING
-DhLink* dh_assistant_view_get_link (DhAssistantView *self);
-void dh_assistant_view_set_link (DhAssistantView *self,
- DhLink *link);
-#endif
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]