From: <rl...@us...> - 2006-08-26 06:26:15
|
Revision: 17036 Author: rlaager Date: 2006-08-25 23:26:09 -0700 (Fri, 25 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=17036&view=rev Log Message: ----------- GaimGtkLogViewer is only used within gtklog.c, so let's hide it. Modified Paths: -------------- trunk/doc/ChangeLog.API trunk/gtk/gtklog.c trunk/gtk/gtklog.h Modified: trunk/doc/ChangeLog.API =================================================================== --- trunk/doc/ChangeLog.API 2006-08-26 06:25:49 UTC (rev 17035) +++ trunk/doc/ChangeLog.API 2006-08-26 06:26:09 UTC (rev 17036) @@ -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() Modified: trunk/gtk/gtklog.c =================================================================== --- trunk/gtk/gtklog.c 2006-08-26 06:25:49 UTC (rev 17035) +++ trunk/gtk/gtklog.c 2006-08-26 06:26:09 UTC (rev 17036) @@ -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; Modified: trunk/gtk/gtklog.h =================================================================== --- trunk/gtk/gtklog.h 2006-08-26 06:25:49 UTC (rev 17035) +++ trunk/gtk/gtklog.h 2006-08-26 06:26:09 UTC (rev 17036) @@ -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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |