gnome-utils r8242 - trunk/logview
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-utils r8242 - trunk/logview
- Date: Tue, 23 Dec 2008 13:25:54 +0000 (UTC)
Author: cosimoc
Date: Tue Dec 23 13:25:54 2008
New Revision: 8242
URL: http://svn.gnome.org/viewvc/gnome-utils?rev=8242&view=rev
Log:
Remove useless Days property of LogviewWindow.
Modified:
trunk/logview/logview.c
Modified: trunk/logview/logview.c
==============================================================================
--- trunk/logview/logview.c (original)
+++ trunk/logview/logview.c Tue Dec 23 13:25:54 2008
@@ -38,11 +38,6 @@
#define APP_NAME _("System Log Viewer")
enum {
- PROP_0,
- PROP_DAYS,
-};
-
-enum {
LOG_LINE_TEXT = 0,
LOG_LINE_POINTER,
LOG_LINE_WEIGHT,
@@ -80,8 +75,6 @@
static void logview_calendar_set_state (LogviewWindow *logview);
static void logview_search (GtkAction *action, LogviewWindow *logview);
-static void logview_window_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec);
-
static const char *ui_description =
"<ui>"
" <menubar name='LogviewMenu'>"
@@ -840,33 +833,11 @@
}
static void
-logview_window_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec)
-{
- LogviewWindow *logview = LOGVIEW_WINDOW (object);
-
- switch (param_id) {
- case PROP_DAYS:
- g_value_set_pointer (value, logview->curlog->days);
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
- break;
- }
-}
-
-static void
logview_window_class_init (LogviewWindowClass *klass)
{
GObjectClass *object_class = (GObjectClass *) klass;
object_class->finalize = logview_window_finalize;
- object_class->get_property = logview_window_get_property;
-
- g_object_class_install_property (object_class, PROP_DAYS,
- g_param_spec_pointer ("days",
- _("Days"),
- _("Pointer towards a GSList of days for the current log."),
- (G_PARAM_READABLE)));
g_type_class_add_private (klass, sizeof (LogviewWindowPrivate));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]