1 | /* |
---|---|
2 | * Copyright (c) 2016 Red Hat, Inc. |
3 | * |
4 | * This library is free software; you can redistribute it and/or |
5 | * modify it under the terms of the GNU Lesser General Public |
6 | * License as published by the Free Software Foundation; either |
7 | * version 2 of the License, or (at your option) any later version. |
8 | * |
9 | * This library is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | * Lesser General Public License for more details. |
13 | * |
14 | * You should have received a copy of the GNU Lesser General Public |
15 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
16 | */ |
17 | |
18 | #include "config.h" |
19 | #include <glib/gi18n-lib.h> |
20 | |
21 | #include "startrecording.h" |
22 | |
23 | G_DEFINE_TYPE (GtkInspectorStartRecording, gtk_inspector_start_recording, GTK_TYPE_INSPECTOR_RECORDING) |
24 | |
25 | static void |
26 | gtk_inspector_start_recording_finalize (GObject *object) |
27 | { |
28 | //GtkInspectorStartRecording *recording = GTK_INSPECTOR_START_RECORDING (object); |
29 | |
30 | G_OBJECT_CLASS (gtk_inspector_start_recording_parent_class)->finalize (object); |
31 | } |
32 | |
33 | static void |
34 | gtk_inspector_start_recording_class_init (GtkInspectorStartRecordingClass *klass) |
35 | { |
36 | GObjectClass *object_class = G_OBJECT_CLASS (klass); |
37 | |
38 | object_class->finalize = gtk_inspector_start_recording_finalize; |
39 | } |
40 | |
41 | static void |
42 | gtk_inspector_start_recording_init (GtkInspectorStartRecording *vis) |
43 | { |
44 | } |
45 | |
46 | GtkInspectorRecording * |
47 | gtk_inspector_start_recording_new (void) |
48 | { |
49 | GtkInspectorStartRecording *recording; |
50 | |
51 | recording = g_object_new (GTK_TYPE_INSPECTOR_START_RECORDING, |
52 | first_property_name: "timestamp", (gint64) 0, |
53 | NULL); |
54 | |
55 | return GTK_INSPECTOR_RECORDING (recording); |
56 | } |
57 | |
58 | // vim: set et sw=2 ts=2: |
59 |