changeset 14339:ba1fd54bb157

[gaim-migrate @ 17036] GaimGtkLogViewer is only used within gtklog.c, so let's hide it. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 26 Aug 2006 06:26:09 +0000
parents 2ec879353592
children 2aaadbd919c4
files doc/ChangeLog.API gtk/gtklog.c gtk/gtklog.h
diffstat 3 files changed, 20 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog.API	Sat Aug 26 06:25:49 2006 +0000
+++ b/doc/ChangeLog.API	Sat Aug 26 06:26:09 2006 +0000
@@ -189,6 +189,7 @@
 	* gaim_conversation_get_send_history(), and send_history from
 	  GaimConversation
 	* Removed ui_ops from GaimBuddyList. Use gaim_blist_get_ui_ops() instead
+	* GaimGtkLogViewer hidden... You weren't using it anyway.
 
 	Added:
 	* gaim_prefs_disconnect_by_handle()
--- a/gtk/gtklog.c	Sat Aug 26 06:25:49 2006 +0000
+++ b/gtk/gtklog.c	Sat Aug 26 06:26:09 2006 +0000
@@ -34,6 +34,25 @@
 #include "notify.h"
 #include "util.h"
 
+typedef struct _GaimGtkLogViewer GaimGtkLogViewer;
+
+/**
+ * A GTK+ Log Viewer.  You can look at logs with it.
+ */
+struct _GaimGtkLogViewer {
+	GList *logs;                 /**< The list of logs viewed in this viewer   */
+
+	GtkWidget        *window;    /**< The viewer's window                      */
+	GtkTreeStore     *treestore; /**< The treestore containing said logs       */
+	GtkWidget        *treeview;  /**< The treeview representing said treestore */
+	GtkWidget        *imhtml;    /**< The imhtml to display said logs          */
+	GtkWidget        *entry;     /**< The search entry, in which search terms
+	                              *   are entered                              */
+	GaimLogReadFlags flags;      /**< The most recently used log flags         */
+	char             *search;    /**< The string currently being searched for  */
+	GtkWidget        *label;     /**< The label at the top of the log viewer   */
+};
+
 static GHashTable *log_viewers = NULL;
 static void populate_log_tree(GaimGtkLogViewer *lv);
 static GaimGtkLogViewer *syslog_viewer = NULL;
--- a/gtk/gtklog.h	Sat Aug 26 06:25:49 2006 +0000
+++ b/gtk/gtklog.h	Sat Aug 26 06:26:09 2006 +0000
@@ -30,27 +30,6 @@
 
 #include "account.h"
 
-typedef struct _GaimGtkLogViewer GaimGtkLogViewer;
-
-/**
- * A GTK+ Log Viewer.  You can look at logs with it.
- */
-struct _GaimGtkLogViewer {
-	GList *logs;                 /**< The list of logs viewed in this viewer   */
-
-	GtkWidget        *window;    /**< The viewer's window                      */
-	GtkTreeStore     *treestore; /**< The treestore containing said logs       */
-	GtkWidget        *treeview;  /**< The treeview representing said treestore */
-	GtkWidget        *imhtml;    /**< The imhtml to display said logs          */
-	GtkWidget        *entry;     /**< The search entry, in which search terms
-	                              *   are entered                              */
-	GaimLogReadFlags flags;      /**< The most recently used log flags         */
-	char             *search;    /**< The string currently being searched for  */
-	GtkWidget        *label;     /**< The label at the top of the log viewer   */
-};
-
-
-
 void gaim_gtk_log_show(GaimLogType type, const char *screenname, GaimAccount *account);
 void gaim_gtk_log_show_contact(GaimContact *contact);