summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/meta_frames.cc
blob: e95ac87f81f5370d619a92cc130592044989ddcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/gtk/meta_frames.h"

G_BEGIN_DECLS

G_DEFINE_TYPE(MetaFrames, meta_frames, GTK_TYPE_WINDOW)

static void meta_frames_class_init(MetaFramesClass* frames_class) {
  // Noop since we don't declare anything.
}

static void meta_frames_init(MetaFrames* button) {
}

GtkWidget* meta_frames_new(void) {
  GtkWindow* window =
      GTK_WINDOW(g_object_new(meta_frames_get_type(), NULL));
  window->type = GTK_WINDOW_TOPLEVEL;
  return GTK_WIDGET(window);
}

G_END_DECLS