[gtranslator/gtk4: 27/79] replaced GtkScrolledWindow with GtkFrame in GtrTranslationMemoryUi




commit 69baa4800b8e58111d5980b8dbae57f411352321
Author: afshan ahmed khan <afshanahmeda2k gmail com>
Date:   Tue May 31 10:39:10 2022 +0530

    replaced GtkScrolledWindow with GtkFrame in GtrTranslationMemoryUi

 src/translation-memory/gtr-translation-memory-ui.c | 2 +-
 src/translation-memory/gtr-translation-memory-ui.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/translation-memory/gtr-translation-memory-ui.c 
b/src/translation-memory/gtr-translation-memory-ui.c
index cc318322..f87717ae 100644
--- a/src/translation-memory/gtr-translation-memory-ui.c
+++ b/src/translation-memory/gtr-translation-memory-ui.c
@@ -54,7 +54,7 @@ typedef struct
 } GtrTranslationMemoryUiPrivate;
 
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtrTranslationMemoryUi, gtr_translation_memory_ui, GTK_TYPE_SCROLLED_WINDOW)
+G_DEFINE_TYPE_WITH_PRIVATE (GtrTranslationMemoryUi, gtr_translation_memory_ui, GTK_TYPE_FRAME)
 
 enum
 {
diff --git a/src/translation-memory/gtr-translation-memory-ui.h 
b/src/translation-memory/gtr-translation-memory-ui.h
index 74cb4865..e77dc348 100644
--- a/src/translation-memory/gtr-translation-memory-ui.h
+++ b/src/translation-memory/gtr-translation-memory-ui.h
@@ -39,12 +39,12 @@ typedef struct _GtrTranslationMemoryUiClass   GtrTranslationMemoryUiClass;
 
 struct _GtrTranslationMemoryUi
 {
-  GtkScrolledWindow parent_instance;
+  GtkFrame parent_instance;
 };
 
 struct _GtrTranslationMemoryUiClass
 {
-  GtkScrolledWindowClass parent_class;
+  GtkFrameClass parent_class;
 };
 
 GType            gtr_translation_memory_ui_get_type             (void) G_GNUC_CONST;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]