devhelp r1175 - in trunk: . src



Author: herzi
Date: Thu Oct  9 17:43:05 2008
New Revision: 1175
URL: http://svn.gnome.org/viewvc/devhelp?rev=1175&view=rev

Log:
2008-10-07  Sven Herzberg  <sven imendio com>

	Dropped assistant_set_link()

	* src/dh-assistant.c: dropped the function


Modified:
   trunk/ChangeLog
   trunk/src/dh-assistant.c

Modified: trunk/src/dh-assistant.c
==============================================================================
--- trunk/src/dh-assistant.c	(original)
+++ trunk/src/dh-assistant.c	Thu Oct  9 17:43:05 2008
@@ -127,14 +127,6 @@
         return GTK_WIDGET (assistant);
 }
 
-static void
-assistant_set_link (DhAssistant *assistant,
-                    DhLink      *link)
-{
-        dh_assistant_view_set_link (DH_ASSISTANT_VIEW (GET_PRIVATE (assistant)->web_view),
-                                    link);
-}
-
 gboolean
 dh_assistant_search (DhAssistant *assistant,
                      const gchar *str)
@@ -196,14 +188,17 @@
 
         if (exact_link) {
                 /*g_print ("exact hit: '%s' '%s'\n", exact_link->name, str);*/
-                assistant_set_link (assistant, exact_link);
+                dh_assistant_view_set_link (DH_ASSISTANT_VIEW (GET_PRIVATE (assistant)->web_view),
+                                            exact_link);
         }
         else if (prefix_link) {
                 /*g_print ("prefix hit: '%s' '%s'\n", prefix_link->name, str);*/
-                assistant_set_link (assistant, prefix_link);
+                dh_assistant_view_set_link (DH_ASSISTANT_VIEW (GET_PRIVATE (assistant)->web_view),
+                                            prefix_link);
         } else {
                 /*g_print ("no hit\n");*/
-                /*assistant_set_link (assistant, NULL);*/
+                /*dh_assistant_view_set_link (DH_ASSISTANT_VIEW (GET_PRIVATE (assistant)->web_view),
+                                            NULL);*/
                 return FALSE;
         }
 



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