Learning_GTK4_tree/gtk/inspector/startrecording.c

59 lines
1.7 KiB
C
Raw Normal View History

2023-12-12 11:36:42 +01:00
/*
* Copyright (c) 2016 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include <glib/gi18n-lib.h>
#include "startrecording.h"
G_DEFINE_TYPE (GtkInspectorStartRecording, gtk_inspector_start_recording, GTK_TYPE_INSPECTOR_RECORDING)
static void
gtk_inspector_start_recording_finalize (GObject *object)
{
//GtkInspectorStartRecording *recording = GTK_INSPECTOR_START_RECORDING (object);
G_OBJECT_CLASS (gtk_inspector_start_recording_parent_class)->finalize (object);
}
static void
gtk_inspector_start_recording_class_init (GtkInspectorStartRecordingClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
object_class->finalize = gtk_inspector_start_recording_finalize;
}
static void
gtk_inspector_start_recording_init (GtkInspectorStartRecording *vis)
{
}
GtkInspectorRecording *
gtk_inspector_start_recording_new (void)
{
GtkInspectorStartRecording *recording;
recording = g_object_new (GTK_TYPE_INSPECTOR_START_RECORDING,
"timestamp", (gint64) 0,
NULL);
return GTK_INSPECTOR_RECORDING (recording);
}
// vim: set et sw=2 ts=2: